Skip to content

API introduction

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.

https://api.zeoradar.com/v1

Every 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.

AreaIn the APINote
Listing, creating and updating brandsYesBrands
Topic and prompt managementYesPrompts
Starting a measurement and checking its statusYesRuns
Visibility, citation, sentiment, answer and AI traffic reportsYesThe report pages
Raw answer textYesAnswers
User and team managementNoDone in the interface
Billing and plan changesNoDone in the interface
Persona analysisNoToday it works only in the interface, as a re-reading
Starting a page crawlNoOn the roadmap

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 Sunset header on the responses of the version being retired.
PromiseWhat it means
Fields are not removedA 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 changeThe id of a record stays the same for its whole life
The counting method is tied to the documentationIf the formula of a metric changes, it is announced in the Metrics section and in the API changelog together
The envelope is fixedThe data, meta, error trio is identical on every endpoint
Experimental endpoints are markedThe response of an endpoint that is not considered stable carries the X-Zeo-Api-Stability: experimental header
  1. Create a key on the Authentication page.
  2. Read the envelope and the pagination rule on the Response format page.
  3. Learn the date range and dimension syntax on the Filters page.
  4. Copy one of the three scenarios on the Examples page and run it.

feedback.question