API introduction
What it is for
Section titled “What it is for”The API exists so that every number you see in the dashboard can be moved into your own systems. It was designed for three jobs:
- Reading. Pulling visibility, share of voice, citation share, sentiment score and AI traffic figures into your own data warehouse or dashboard.
- Configuration. Managing brand, topic and prompt records from outside, so that agencies do not repeat client setup by hand.
- Triggering. Queueing a new measurement and polling its status.
The API is not a shell on top of the interface. It reads from the same tables: brands,
topics, prompts, runs, answers, snapshots, pages, page_citations and bot_daily.
That is why a number is the same in the API as it is in the dashboard.
Base URL
Section titled “Base URL”https://api.zeoradar.com/v1Every request is made over HTTPS. A request that arrives over HTTP returns 400 and is not redirected: a silent redirect means the API key travels once across an unencrypted network.
Request and response bodies are always application/json; charset=utf-8. Write requests must
carry the Content-Type: application/json header.
| Area | In the API | Note |
|---|---|---|
| Listing, creating and updating brands | Yes | Brands |
| Topic and prompt management | Yes | Prompts |
| Starting a measurement and checking its status | Yes | Runs |
| Visibility, citation, sentiment, answer and AI traffic reports | Yes | The report pages |
| Raw answer text | Yes | Answers |
| User and team management | No | Done in the interface |
| Billing and plan changes | No | Done in the interface |
| Persona analysis | No | Today it works only in the interface, as a re-reading |
| Starting a page crawl | No | On the roadmap |
Versioning
Section titled “Versioning”The version number lives in the address: /v1. You do not select a version with a header or a
query parameter, because which version a client speaks should be visible from the address it
calls.
- Non-breaking changes do not change the version number. A new endpoint, a new field added to a response, a new optional parameter and a new sort option are not breaking. Your client must ignore fields it does not recognise.
- Breaking changes open a new version. Removing a field, renaming it, changing its type,
making a parameter mandatory and changing the meaning of an error code are breaking. These
are not done inside
/v1, they arrive with/v2. - The old version lives for at least 12 months. After a new version is announced, the old
one keeps working for at least twelve more months. The closing date is announced in advance
through the
Sunsetheader on the responses of the version being retired.
Stability promise
Section titled “Stability promise”| Promise | What it means |
|---|---|
| Fields are not removed | A response field is never dropped inside /v1; if it falls out of use it returns null and is marked in the documentation |
| Ids do not change | The id of a record stays the same for its whole life |
| The counting method is tied to the documentation | If the formula of a metric changes, it is announced in the Metrics section and in the API changelog together |
| The envelope is fixed | The data, meta, error trio is identical on every endpoint |
| Experimental endpoints are marked | The response of an endpoint that is not considered stable carries the X-Zeo-Api-Stability: experimental header |
Where to start
Section titled “Where to start”- Create a key on the Authentication page.
- Read the envelope and the pagination rule on the Response format page.
- Learn the date range and dimension syntax on the Filters page.
- Copy one of the three scenarios on the Examples page and run it.
feedback.question
feedback.thanks