The AI-powered Entity Audit
- Setup: Your Audit Stack, API Keys and What It Costs
- Entity Extraction with the Google NLP API
- What Google’s Knowledge Graph Can and Cannot Tell You
APIs
In shortA set of rules that lets one piece of software request data or functions from another, such as pulling Search Console data or calling an NLP model.
An API (application programming interface) is a set of rules that lets one piece of software ask another for data or a function, without a person clicking through an interface. For SEOs and marketers, APIs are how you pull Search Console data, send text to an NLP model or an LLM, or collect search results at scale, from a notebook, a spreadsheet or an automation tool.
Most web APIs follow a simple request and response pattern. Your code (the client) sends a request to a specific URL, called an endpoint, with parameters describing what you want. The service checks who you are, usually with an API key or an OAuth login, does the work and sends back a response, typically as JSON. You rarely write the raw request yourself: Python libraries, Google Colab notebooks and Apps Script in Google Sheets handle that part for you.
Every API comes with rules: quotas (how many requests you can make), rate limits (how fast), prices per request or per token, and versions that change over time.
MLforSEO’s comparison of NLP APIs and chatbots shows why an API matters for repeatable work. A task-specific API is a fixed model: send it the same text and you get the same entities back, so anyone can reproduce your analysis. Re-running a chatbot on the identical prompt and text returned 24 entities instead of 25. In the YouTube SEO audit, the YouTube Data API shows how quotas shape a project: the default is 10,000 units a day, comments cost 1 unit per 100, and every search call costs 100.
How to do Sentiment Analysis with Google’s Natural Language API in Google Sheets (Apps Script)
How to do content moderation with Google’s Natural Language API in Google Sheets (Apps Script)
How to do Entity Extraction with Google’s Natural Language API in Google Sheets (Apps Script)
How to do Syntax Analysis with Google’s Natural Language API in Google Sheets (Apps Script)