Data API

Your Mador data, where you already work

The same measurements you see in the customer area, read from a Google Sheet, from Looker Studio or from your agency's own software. One key, eight tables, answers in JSON or CSV.

Open «API and data»Keys and exports live in the customer area.

Who can use it

The API comes with three kinds of access, and each one sees its own data:

  • Growth: the projects in your account.
  • Agency: the projects of the clients your agency looks after.
  • Partner Program: the scans you ran on behalf of businesses.

The key

You create it in the customer area, on the «API and data» page.

  1. Sign in to the customer area and open «API and data».
  2. Name the key, say «Client sheet» or «Looker Studio», and press «Create key».
  3. Copy it straight away: Mador shows it once and only keeps a fingerprint, so it cannot show it to you again.

Use one key per place: if a sheet ends up in the wrong hands, you revoke that key and the others keep working.

Your first call

The key goes in the Authorization header. Every JSON answer carries the rows in data and, when there are more, the cursor for the next page.

curl https://mador.ai/api/v1/projects \
  -H "Authorization: Bearer mdr_YOUR_KEY"
{
  "object": "list",
  "table": "projects",
  "data": [
    {
      "project_id": "6f1c…",
      "kind": "project",
      "name": "Clinica Dental Adeje",
      "zone": "Costa Adeje",
      "category": "dentista",
      "language": "es",
      "plan": "growth",
      "paused": false,
      "last_measurement_date": "2026-10-28",
      "named_in_answers": 9,
      "answers": 140
    }
  ],
  "has_more": false,
  "next_cursor": null
}

The tables

Measurements reads the last six comparable measurements, the same ones you see in the customer area; the others start from the latest measurement and read those six when you add from or to. The same list downloads from the customer area as the data dictionary.

curl "https://mador.ai/api/v1/dictionary?language=en"
/api/v1/projectsThe businesses the key can read, with the latest measurement.
ColumnTypeWhat it means
project_idstringThe project id, the same in every table.
kindstringproject = Growth or Agency project; partner_scan = scan run by a partner.
namestringThe business name.
zonestring?The measured area.
categorystring?The measured category.
languagestring?The language of the questions.
planstringgrowth, monitor or free_scan: it sets how many assistants are measured.
pausedbooleantrue when the project's measurements are paused.
last_measurement_datedate?The day of the latest measurement.
named_in_answersinteger?In how many answers the business is named in the latest measurement.
answersinteger?Out of how many answers: area questions times assistants.
/api/v1/measurementsResults by assistant, date and language: one row per measurement and assistant. Reads the last six comparable measurements.
ColumnTypeWhat it means
project_idstringThe project id, the same in every table.
project_namestringThe business name.
measurement_idstringThe measurement id.
datedateThe measurement day (YYYY-MM-DD, UTC).
zonestringThe measured area, as shown in the customer area.
categorystringThe measured category.
languagestringThe language of the questions: it, es, en or de.
assistant_idstringThe assistant id, for filters (openai, perplexity, anthropic, aiMode…).
assistantstringThe assistant name (ChatGPT, Claude, Gemini…).
named_in_answersintegerIn how many of this assistant's answers the business is named.
answersintegerHow many answers from this assistant arrived.
/api/v1/questionsThe measured questions, each with how many answers name the business. Latest measurement by default.
ColumnTypeWhat it means
project_idstringThe project id, the same in every table.
project_namestringThe business name.
measurement_idstringThe measurement id.
datedateThe measurement day (YYYY-MM-DD, UTC).
zonestringThe measured area, as shown in the customer area.
categorystringThe measured category.
languagestringThe language of the questions: it, es, en or de.
questionstringThe question asked to the assistants.
typestringzone = area question, the same for the whole category; free = question chosen by the customer.
named_in_answersintegerIn how many answers to this question the business is named.
answersintegerHow many answers to this question arrived.
/api/v1/presencePresence question by question and assistant by assistant. Latest measurement by default.
ColumnTypeWhat it means
project_idstringThe project id, the same in every table.
project_namestringThe business name.
measurement_idstringThe measurement id.
datedateThe measurement day (YYYY-MM-DD, UTC).
zonestringThe measured area, as shown in the customer area.
categorystringThe measured category.
languagestringThe language of the questions: it, es, en or de.
questionstringThe question asked to the assistants.
typestringzone = area question, the same for the whole category; free = question chosen by the customer.
assistant_idstringThe assistant id, for filters (openai, perplexity, anthropic, aiMode…).
assistantstringThe assistant name (ChatGPT, Claude, Gemini…).
statusstringnamed = it names you; not_named = it answered without naming you; not_measured = the answer did not arrive.
/api/v1/competitorsThe other businesses the assistants name for the same area and category, with your own row next to them. Latest measurement by default.
ColumnTypeWhat it means
project_idstringThe project id, the same in every table.
project_namestringThe business name.
measurement_idstringThe measurement id.
datedateThe measurement day (YYYY-MM-DD, UTC).
zonestringThe measured area, as shown in the customer area.
categorystringThe measured category.
languagestringThe language of the questions: it, es, en or de.
list_orderinteger?Order by answers, most named first. Empty on your own row.
namestringThe name of the named business.
answersintegerIn how many answers it is named.
questionsintegerOn how many different questions.
is_youbooleantrue on your own business's row.
/api/v1/sourcesThe websites the assistants read to answer: the top twelve of the measurement, as in the customer area. Latest measurement by default.
ColumnTypeWhat it means
project_idstringThe project id, the same in every table.
project_namestringThe business name.
measurement_idstringThe measurement id.
datedateThe measurement day (YYYY-MM-DD, UTC).
zonestringThe measured area, as shown in the customer area.
categorystringThe measured category.
languagestringThe language of the questions: it, es, en or de.
domainstringThe website's domain.
answersintegerIn how many answers it appears.
questionsintegerOn how many different questions.
assistantsintegerHow many assistants read it.
is_your_sitebooleantrue when it is the website in your profile.
/api/v1/todosThis week's to-dos, most useful first. Growth only.
ColumnTypeWhat it means
project_idstringThe project id, the same in every table.
project_namestringThe business name.
todo_idstringThe to-do id.
orderintegerPosition in the list, most useful first.
typestringThe to-do type.
textstringThe to-do, in words.
wherestringon_mador = done from the customer area; outside_mador = done elsewhere; to_read = to read.
languagestringThe language of the text.
/api/v1/pagesThe pages Mador wrote for the project, with their status and public address.
ColumnTypeWhat it means
project_idstringThe project id, the same in every table.
project_namestringThe business name.
questionstringThe question the page answers.
statusstringpublished, published_with_unpublished_edits or draft.
urlstring?The public address, when published.
updateddateLast update.
waiting_for_approval_untildate?When it waits for your approval, until when.

Filters

They combine. A filter written wrong is never ignored: the answer is a 400 error that names the parameter.

project_id
a single project, with its id from projects
from, to
measurements between two days, written like 2026-11-02 (not on projects, todos or pages)
assistant
one or more assistants separated by commas, by id (openai) or by name (chatgpt); only on measurements, questions and presence
language
it, es, en or de: the language of the questions
zone
the measured area, for example Costa Adeje
format
json (the default) or csv
curl "https://mador.ai/api/v1/measurements?from=2026-10-01&assistant=chatgpt,perplexity&language=en" \
  -H "Authorization: Bearer mdr_YOUR_KEY"
curl "https://mador.ai/api/v1/competitors?project_id=6f1c…&format=csv" \
  -H "Authorization: Bearer mdr_YOUR_KEY" -o competitors.csv

Pages

A page holds 100 rows by default, and limit takes it up to 1000 (5000 in CSV). When has_more is true, call again with cursor set to next_cursor. In CSV the cursor comes in the X-Next-Cursor header.

curl "https://mador.ai/api/v1/presence?limit=500&cursor=eyJvIjo1MDB9" \
  -H "Authorization: Bearer mdr_YOUR_KEY"

Limits

Each account gets 60 calls a minute and 5,000 a day, export downloads included, shared across all its keys. Past that the answer is 429 with Retry-After, which says how many seconds to wait.

Errors

401 missing_key
no key was sent
401 invalid_key
the key is wrong or revoked
403 forbidden
the account's plan does not include the API
404 project_not_found
the project is not one this key can read
400 invalid_parameter
a parameter is not valid, and the parameter field names it
429 rate_limited
limit reached, try again after Retry-After
{ "error": { "code": "invalid_parameter", "message": "from must be a date like 2026-11-02", "parameter": "from" } }

Google Sheets

Paste this formula into an empty cell: the sheet downloads the table as CSV and refreshes it on its own, roughly every hour.

=IMPORTDATA("https://mador.ai/api/v1/measurements?format=csv&key=mdr_YOUR_KEY")

IMPORTDATA cannot send headers, so here the key sits in the address. Create a key just for the sheet and share the sheet only with people you trust: anyone who opens it can read the formula.

Looker Studio

Two ways in. The quick one goes through the Google Sheet above: in Looker Studio add a Google Sheets data source and pick that sheet. The other is Mador's community connector, which asks for the key and reads the tables directly:

  1. Open script.google.com and create a new project.
  2. Paste the two connector files from the «API and data» page of the customer area (Code.gs and appsscript.json).
  3. Press «Deploy», then «Manage deployments», and copy the deployment ID.
  4. In Looker Studio add a data source, choose «Build your own» and paste the ID.
  5. Enter the key and pick the table: the columns come from the dictionary, with the right types.

The connector lives in your Google account: Mador cannot see it or update it. Every report refresh is a call, and counts towards the limits.

What is not there

The text of the assistants' answers never leaves through the API, not even in pieces. What comes out is the questions, the business names, the websites the assistants read and the counts: what a report needs, without republishing what someone else wrote.

Versions

The address carries the version, /api/v1. Within a version Mador adds columns and tables, but never removes one or changes what it means. A breaking change becomes /api/v2, and v1 keeps running beside it.

ChatGPT, Claude, Gemini, Perplexity, Grok, DeepSeek, Qwen, GLM, Kimi, Mistral, Meta AI, Google, Microsoft and Bing are trademarks of their respective owners. We are not affiliated with or sponsored by any of these platforms.

0.5% of our revenue goes to carbon removal with Stripe Climate