Docs
33 tools. The same tools work in Claude, in ChatGPT and over the REST API.
Peak Answer gives Claude, ChatGPT and your own code the data for SEO and AI search. Each call costs credits, and reading your own Search Console, Google Analytics and PostHog data is free. Start free with 300 credits a month.
- Connect in Claude or ChatGPT
- Use the REST API
- Credits and plans
- Every tool
- Watched items
- Errors and limits
Connect in Claude or ChatGPT
The server address is the same everywhere. It uses OAuth, so you sign in and approve access when you connect.
https://peakanswer.com/api/mcp| Client | How |
|---|---|
| Claude (web and desktop) | Settings, Connectors, add custom connector, paste the URL and sign in. |
| Claude Code | claude mcp add --transport http peakanswer https://peakanswer.com/api/mcp |
| ChatGPT | Plugins, the plus button, Add custom MCP server. Paste the URL, choose OAuth, then Create as a plugin and install it. |
| Cursor and VS Code | Add an entry with the url https://peakanswer.com/api/mcp to mcp.json. The editor handles the sign in. |
| Gemini CLI | gemini mcp add --transport http peakanswer https://peakanswer.com/api/mcp |
A client that cannot sign in can send an API key as Authorization: Bearer YOUR_KEY. Each tool below shows its MCP name and the arguments it takes.
Use the REST API
Make a key on the API keys page. It is shown once, so copy it somewhere safe. Keep it on your server, never in front end code.
curl "https://peakanswer.com/api/v1/account/credits" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"Every answer is JSON with data, next_cursor and meta. The meta object has credits_used and credits_left for the call. Lists carry a next_cursor: pass it back as cursor to get the next page. For writes, send an Idempotency-Key header so a retry does not repeat the change. The whole API is also described as OpenAPI 3.1.
Credits and plans
Each tool lists its price below. A refused call costs nothing, and a call that fails before it returns an answer is refunded. Plan credits reset each billing cycle and do not carry over. Top up credits last 12 months and are used after the plan credits.
| Plan | Price a month | Credits a month | Watched items | Sites |
|---|---|---|---|---|
| Free | $0 | 300 | 5 | 1 |
| Starter | $9 | 1,500 | 50 | 3 |
| Pro | $29 | 5,000 | 250 | 10 |
| Agency | $99 | 18,000 | No limit | 25 |
Annual billing is two months free. Top ups: $10 for 1,500 credits, $50 for 8,000 credits, $200 for 35,000 credits.
| Tool | Cost |
|---|---|
credits_usage | Free (0 credits) |
plan_info | Free (0 credits) |
topup_link | Free (0 credits) |
billing_link | Free (0 credits) |
api_keys_list | Free (0 credits) |
api_keys_create | Free (0 credits) |
api_keys_revoke | Free (0 credits) |
connect_link | Free (0 credits) |
credit_alert_set | Free (0 credits) |
watch_list | Free (0 credits) |
watch_update | Free (0 credits) |
answers_run | 1 credit per run on ChatGPT, Gemini and Google AI Mode, 3 on Perplexity, 30 on Claude. A follow up turn costs the same again |
answers_batch | 1 credit per run on ChatGPT, Gemini and Google AI Mode, 3 on Perplexity, 30 on Claude. A batch costs the sum of its runs |
jobs_get | Free (0 credits) |
answers_history | Free (0 credits) |
changes_summary | Free (0 credits) |
serp_google | 1 credits per search |
keywords_lookup | 10 credits per call, up to 100 keywords |
keywords_ideas | 10 credits per call |
domain_ranked_keywords | 20 credits per call |
domain_strength | 20 credits per call |
backlinks_list | 20 credits per call |
citations_sources | 10 credits per call, 2 when answered from the shared cache |
threads_search | 10 credits per call |
facts_check | 10 credits per engine |
page_audit | 20 credits per page |
site_audit | 20 credits per site |
coverage_map | 10 credits per map |
crawler_check | Free (0 credits) |
gsc_query | Free (0 credits) |
ga4_report | Free (0 credits) |
posthog_query | Free (0 credits) |
my_ai_visits | Free (0 credits) |
Every tool
Account
Credits and usage credits_usage
The credit balance (from the plan and from top ups), when plan credits reset, what this month's credits went on by tool, and the latest calls with what each cost. Free. Call it before a big job or when asked how many credits are left.
Free (0 credits). Works with a read only key. GET /api/v1/account/credits
| Parameter | Type | Required | What it does |
|---|---|---|---|
recent_calls | integer | No | How many of the latest calls to list, up to 100. |
Example request
curl "https://peakanswer.com/api/v1/account/credits" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "credits_usage",
"arguments": {}
}Example response
{
"data": {
"metered": true,
"plan": {
"id": "example.com",
"label": "example.com"
},
"balance": {
"total": 1,
"from_plan": 1,
"from_top_ups": 1,
"plan_resets_at": "example.com"
},
"month": {
"starts_at": "example.com",
"credits_used": 1,
"by_tool": [
{
"tool": "example.com",
"credits": 1
}
]
},
"recent_calls": [
{
"at": "example.com",
"tool": "example.com",
"credits": 1,
"refunded": true
}
],
"low_balance_alert": {
"threshold": 1
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Plan plan_info
The current plan and what it includes, how the account is billed and when it renews, the three top ups, and every plan side by side. Free.
Free (0 credits). Works with a read only key. GET /api/v1/account/plan
No parameters.
Example request
curl "https://peakanswer.com/api/v1/account/plan" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "plan_info",
"arguments": {}
}Example response
{
"data": {
"metered": true,
"plan": {
"id": "free",
"label": "example.com",
"price_monthly_usd": 1,
"price_annual_usd": 1,
"monthly_credits": 1,
"watch_limit": 1,
"brand_limit": 1,
"seat_limit": 1,
"requests_per_minute": 1
},
"monthly_credits": 1,
"billing": {
"interval": "monthly",
"status": "example.com",
"renews_at": "example.com",
"cancels_at": "example.com",
"has_subscription": true
},
"top_ups": [
{
"id": "topup_10",
"price_usd": 1,
"credits": 1
}
],
"plans": [
{
"id": "free",
"label": "example.com",
"price_monthly_usd": 1,
"price_annual_usd": 1,
"monthly_credits": 1,
"watch_limit": 1,
"brand_limit": 1,
"seat_limit": 1,
"requests_per_minute": 1
}
]
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Low credit email credit_alert_set
Turn the low credit email on or off. Give a number of credits to get an email when the balance drops under it. Leave the number out to turn it off.
Free (0 credits). Needs a key that can make changes. PUT /api/v1/account/credit-alert
| Parameter | Type | Required | What it does |
|---|---|---|---|
threshold | integer | No | Credits. Null or left out turns the email off. |
Example request
curl -X PUT "https://peakanswer.com/api/v1/account/credit-alert" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{}'The same call from an MCP client:
{
"name": "credit_alert_set",
"arguments": {}
}Example response
{
"data": {
"threshold": 1
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Billing
Top up link topup_link
A link to Stripe's page to buy a one time top up: topup_10 gives 1,500 credits, topup_50 gives 8,000 and topup_200 gives 35,000. Top up credits last 12 months and are used after the plan credits. The account owner pays on Stripe's page, never here.
Free (0 credits). Works with a read only key. GET /api/v1/billing/topup-link
| Parameter | Type | Required | What it does |
|---|---|---|---|
top_up | "topup_10" | "topup_50" | "topup_200" | Yes | Which top up to buy. |
Example request
curl "https://peakanswer.com/api/v1/billing/topup-link?top_up=topup_10" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "topup_link",
"arguments": {
"top_up": "topup_10"
}
}Example response
{
"data": {
"url": "example.com",
"credits": 1,
"price_usd": 1
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Billing link billing_link
A link to manage billing on Stripe: change plan, update the card, read invoices or cancel. For an account with no paid plan yet, pass plan (starter, pro or agency) and interval to get the checkout page for it instead. Only the account owner can ask for it.
Free (0 credits). Works with a read only key. GET /api/v1/billing/portal-link
| Parameter | Type | Required | What it does |
|---|---|---|---|
plan | "starter" | "pro" | "agency" | No | Start this plan. Leave out to open the billing portal. |
interval | "monthly" | "annual" | No | Annual is two months free. Default monthly. |
Example request
curl "https://peakanswer.com/api/v1/billing/portal-link" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "billing_link",
"arguments": {}
}Example response
{
"data": {
"url": "example.com",
"kind": "checkout"
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}API keys
API keys api_keys_list
The API keys on the account with their name, the start of the key, whether they read or also write, and when each was last used. The secret is never shown.
Free (0 credits). Works with a read only key. GET /api/v1/keys
| Parameter | Type | Required | What it does |
|---|---|---|---|
cursor | string | No | Pass next_cursor from the previous page to get the next one. |
limit | integer | No | How many rows to return, 1 to 200. |
Example request
curl "https://peakanswer.com/api/v1/keys" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "api_keys_list",
"arguments": {}
}Example response
{
"data": {
"items": [
{
"id": "example.com",
"name": "example.com",
"prefix": "example.com",
"scope": "read",
"reach": "brand",
"brand_id": "example.com",
"last_used_at": "example.com",
"created_at": "example.com",
"legacy": true
}
]
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Make an API key api_keys_create
Make a new API key. The secret is in the answer once and cannot be read again, so show it to the person and tell them to save it. Read keys can only look. Write keys can also change things.
Free (0 credits). Needs a key that can make changes. POST /api/v1/keys
| Parameter | Type | Required | What it does |
|---|---|---|---|
name | string | No | A label, such as the script that will use it. |
access | "read" | "write" | No | |
reach | "brand" | "org" | No | org works on every site on the account. brand works on one site. |
site | string | No | The site id, for reach brand. |
Example request
curl -X POST "https://peakanswer.com/api/v1/keys" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{}'The same call from an MCP client:
{
"name": "api_keys_create",
"arguments": {}
}Example response
{
"data": {
"id": "example.com",
"key": "example.com",
"prefix": "example.com",
"access": "read",
"reach": "brand"
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Revoke an API key api_keys_revoke
Stop an API key from working, for good. Get the id from api_keys_list. Revoking the key used for this call ends that connection.
Free (0 credits). Needs a key that can make changes. DELETE /api/v1/keys/{id}
| Parameter | Type | Required | What it does |
|---|---|---|---|
id | string | Yes | The key id from api_keys_list. |
Example request
curl -X DELETE "https://peakanswer.com/api/v1/keys/example.com" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "api_keys_revoke",
"arguments": {
"id": "example.com"
}
}Example response
{
"data": {
"id": "example.com",
"revoked": true,
"legacy": true
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Connections
Connect link connect_link
A link to connect Search Console, Google Analytics or PostHog for a site. The person opens it, signs in and approves read access. Once connected, the Search Console, Analytics and PostHog tools read that data for free.
Free (0 credits). Works with a read only key. GET /api/v1/integrations/connect-link
| Parameter | Type | Required | What it does |
|---|---|---|---|
integration | "gsc" | "ga4" | "posthog" | Yes | |
site | string | No | The site, by id or domain. Leave out when the account has one site. |
Example request
curl "https://peakanswer.com/api/v1/integrations/connect-link?integration=gsc" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "connect_link",
"arguments": {
"integration": "gsc"
}
}Example response
{
"data": {
"integration": "gsc",
"brand": {
"id": "example.com",
"domain": "example.com"
},
"url": "example.com",
"steps": "example.com"
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Watching
List watched items watch_list
List what is being watched on this account: each query that reruns on a schedule, how often, whether it is on, when it last ran and how that went. Also says how many watches the plan allows.
Free (0 credits). Works with a read only key. GET /api/v1/watches
| Parameter | Type | Required | What it does |
|---|---|---|---|
cursor | string | No | Pass next_cursor from the previous page to get the next one. |
limit | integer | No | How many rows to return, 1 to 200. |
active | boolean | No | Only watches that are on (true) or off (false). Leave out for all. |
Example request
curl "https://peakanswer.com/api/v1/watches" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "watch_list",
"arguments": {}
}Example response
{
"data": {
"items": [
{
"id": "example.com",
"brand_id": "example.com",
"capability": "example.com",
"label": "example.com",
"input": {},
"frequency": "example.com",
"active": true,
"last_run_at": "example.com",
"next_run_at": "example.com",
"last_status": "example.com",
"created_at": "example.com"
}
],
"count": 1,
"limit": 1
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Change a watched item watch_update
Turn a watch on or off, change how often it runs (daily or weekly), or remove it. Every scheduled run costs the same credits as the call it repeats, and a watch is skipped when the account has no credits.
Free (0 credits). Needs a key that can make changes. PATCH /api/v1/watches/{id}
| Parameter | Type | Required | What it does |
|---|---|---|---|
id | string | Yes | The watch's id, from watch.list. |
active | boolean | No | true to turn it on, false to turn it off. |
frequency | "daily" | "weekly" | No | daily or weekly. |
delete | boolean | No | true to remove the watch. Past results stay stored. |
Example request
curl -X PATCH "https://peakanswer.com/api/v1/watches/example.com" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{}'The same call from an MCP client:
{
"name": "watch_update",
"arguments": {
"id": "example.com"
}
}Example response
{
"data": {
"id": "example.com",
"deleted": true,
"watch": {
"id": "example.com",
"brand_id": "example.com",
"capability": "example.com",
"label": "example.com",
"input": {},
"frequency": "example.com",
"active": true,
"last_run_at": "example.com",
"next_run_at": "example.com",
"last_status": "example.com",
"created_at": "example.com"
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}AI answers
Ask an AI engine answers_run
Asks one AI engine a question right now. Returns the answer, the brands it names with their place in its list, the sources it cites with links, and whether it showed products. A follow_up question runs a second turn that carries the first answer along, and returns both turns. The run is stored with its date, and watch reruns it on a schedule. Costs 1 credit on ChatGPT, Gemini and Google AI Mode, 3 on Perplexity and 30 on Claude. A follow_up costs the same again.
1 credit per run on ChatGPT, Gemini and Google AI Mode, 3 on Perplexity, 30 on Claude. A follow up turn costs the same again. Works with a read only key. POST /api/v1/answers/run
| Parameter | Type | Required | What it does |
|---|---|---|---|
question | string | Yes | The question to ask, written the way a buyer would type it. |
engine | "chatgpt" | "gemini" | "google_ai_mode" | "perplexity" | "claude" | No | Which engine to ask: chatgpt, gemini, google_ai_mode, perplexity, claude. |
follow_up | string | No | A second question asked after the first answer. |
country | string | No | Two letter country code the search or question is asked from. Default us. |
domain | string | No | A website address such as example.com. When given, the response says whether it is named or listed. |
detail | "compact" | "full" | No | compact is short and ready to chain into the next call. full returns the raw detail. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl -X POST "https://peakanswer.com/api/v1/answers/run" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"question":"example.com"}'The same call from an MCP client:
{
"name": "answers_run",
"arguments": {
"question": "example.com"
}
}Example response
{
"data": {
"id": "example.com",
"question": "example.com",
"engine": "example.com",
"engine_label": "example.com",
"country": "example.com",
"model": "example.com",
"captured_at": "example.com",
"answer": "example.com",
"named": true,
"brands": [
{
"brand": "example.com",
"is_you": true,
"rank": 1,
"sentiment": "example.com",
"linked": true
}
],
"citations": [
{
"url": "example.com",
"domain": "example.com",
"title": "example.com",
"kind": "cited"
}
],
"shopping": {
"shown": true,
"advertisers": [
"example.com"
]
},
"search_ran": true,
"follow_up": {
"question": "example.com",
"answer": "example.com",
"brands": [
{
"brand": "example.com",
"is_you": true,
"rank": 1,
"sentiment": "example.com",
"linked": true
}
],
"citations": [
{
"url": "example.com",
"domain": "example.com",
"title": "example.com",
"kind": "cited"
}
]
},
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Ask many questions at once answers_batch
Asks up to 50 questions on one or more engines as a background job and returns a job id straight away. Call jobs_get with that id to collect the answers. Every run is stored. Costs 1 credit on ChatGPT, Gemini and Google AI Mode, 3 on Perplexity and 30 on Claude. The call costs the sum of every question on every engine, and a run that fails gives its credits back.
1 credit per run on ChatGPT, Gemini and Google AI Mode, 3 on Perplexity, 30 on Claude. A batch costs the sum of its runs. Works with a read only key. POST /api/v1/answers/batch
| Parameter | Type | Required | What it does |
|---|---|---|---|
questions | list of string | Yes | The questions to ask, up to 50. |
engines | list of "chatgpt" | "gemini" | "google_ai_mode" | "perplexity" | "claude" | No | Engines to ask each question on, from chatgpt, gemini, google_ai_mode, perplexity, claude. |
country | string | No | Two letter country code the search or question is asked from. Default us. |
domain | string | No | A website address such as example.com. When given, the response says whether it is named or listed. |
detail | "compact" | "full" | No | compact is short and ready to chain into the next call. full returns the raw detail. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl -X POST "https://peakanswer.com/api/v1/answers/batch" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"questions":["example.com"]}'The same call from an MCP client:
{
"name": "answers_batch",
"arguments": {
"questions": [
"example.com"
]
}
}Example response
{
"data": {
"job_id": "example.com",
"status": "running",
"total_runs": 1
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Stored runs and what moved answers_history
Every stored run for one question, or for everything this account has run, newest first, with what changed between the last two runs of each: brands gained and lost, and sources gained and lost. Costs 0 credits.
Free (0 credits). Works with a read only key. GET /api/v1/answers/history
| Parameter | Type | Required | What it does |
|---|---|---|---|
question | string | No | A stored question or enough of its words to find it. Leave empty for every question. |
engine | string | No | Only runs on this engine. |
days | integer | No | How far back to look, in days. |
domain | string | No | A website address such as example.com. When given, the response says whether it is named or listed. |
limit | integer | No | How many rows to return, 1 to 200. |
Example request
curl "https://peakanswer.com/api/v1/answers/history" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "answers_history",
"arguments": {}
}Example response
{
"data": {
"question": "example.com",
"exact": true,
"runs_found": 1,
"you_named_share": 1,
"runs": [
{
"id": "example.com",
"question": "example.com",
"engine": "example.com",
"captured_at": "example.com",
"you_named": true,
"brands": [
"example.com"
],
"citations": 1,
"follow_up": true
}
],
"changes": [
{
"question": "example.com",
"engine": "example.com",
"from": "example.com",
"to": "example.com",
"you_named": {
"before": true,
"after": true
},
"brands_gained": [
"example.com"
],
"brands_lost": [
"example.com"
],
"citations_gained": [
"example.com"
],
"citations_lost": [
"example.com"
]
}
]
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Jobs
Collect a background job jobs_get
Shows how far a background job has got and returns its results when it is done. Use it with the job id from answers_batch. Costs 0 credits.
Free (0 credits). Works with a read only key. GET /api/v1/jobs/{id}
| Parameter | Type | Required | What it does |
|---|---|---|---|
id | string | Yes | The job id. |
detail | "compact" | "full" | No | compact is short and ready to chain into the next call. full returns the raw detail. |
Example request
curl "https://peakanswer.com/api/v1/jobs/example.com" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "jobs_get",
"arguments": {
"id": "example.com"
}
}Example response
{
"data": {
"id": "example.com",
"kind": "example.com",
"status": "running",
"done": 1,
"total": 1,
"failed": 1,
"results": [
{
"question": "example.com",
"engine": "example.com",
"status": "done",
"error": "example.com",
"run_id": "example.com",
"named": true,
"answer": "example.com",
"brands": [
{
"brand": "example.com",
"is_you": true,
"rank": 1
}
],
"citations": [
{
"url": "example.com",
"domain": "example.com",
"kind": "cited"
}
]
}
],
"error": "example.com",
"created_at": "example.com",
"finished_at": "example.com"
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}What changed
What changed changes_summary
What changed across everything this account has run or watched in a date range: for each question and engine, whether the brand is named now, and the brands and sources gained and lost between the first and last run. Defaults to the last 7 days. Costs 0 credits.
Free (0 credits). Works with a read only key. GET /api/v1/changes/summary
| Parameter | Type | Required | What it does |
|---|---|---|---|
since | string | No | Start date as YYYY-MM-DD. Default 7 days ago. |
until | string | No | End date as YYYY-MM-DD. Default today. |
limit | integer | No | How many rows to return, 1 to 200. |
Example request
curl "https://peakanswer.com/api/v1/changes/summary" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "changes_summary",
"arguments": {}
}Example response
{
"data": {
"from": "example.com",
"to": "example.com",
"runs": 1,
"questions": 1,
"watched": 1,
"changed": 1,
"unchanged": 1,
"changes": [
{
"question": "example.com",
"engine": "example.com",
"from": "example.com",
"to": "example.com",
"you_named": {
"before": true,
"after": true
},
"brands_gained": [
"example.com"
],
"brands_lost": [
"example.com"
],
"citations_gained": [
"example.com"
],
"citations_lost": [
"example.com"
]
}
]
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Google results
Google results serp_google
Runs one Google search and returns the organic results with their positions, whether Google showed an AI Overview and the pages it cited, and the People Also Ask questions. Pass domain to see where that site stands. The search is stored with its date. Costs 1 credit a search.
1 credits per search. Works with a read only key. POST /api/v1/serp/google
| Parameter | Type | Required | What it does |
|---|---|---|---|
query | string | Yes | What to search for. |
country | string | No | Two letter country code the search or question is asked from. Default us. |
domain | string | No | A website address such as example.com. When given, the response says whether it is named or listed. |
detail | "compact" | "full" | No | compact is short and ready to chain into the next call. full returns the raw detail. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl -X POST "https://peakanswer.com/api/v1/serp/google" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"example.com"}'The same call from an MCP client:
{
"name": "serp_google",
"arguments": {
"query": "example.com"
}
}Example response
{
"data": {
"run_id": "example.com",
"query": "example.com",
"country": "example.com",
"organic": [
{
"position": 1,
"url": "example.com",
"domain": "example.com",
"title": "example.com",
"snippet": "example.com"
}
],
"ai_overview": {
"shown": true,
"excerpt": "example.com",
"cited": [
{
"url": "example.com",
"domain": "example.com",
"title": "example.com"
}
]
},
"people_also_ask": [
"example.com"
],
"you": {
"domain": "example.com",
"position": 1,
"cited_in_overview": true
},
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Phrases
Phrase numbers keywords_lookup
Looks up up to 100 phrases on Google: monthly searches, how hard it is to rank, cost per click, what the searcher wants, and the monthly trend. A phrase with no data comes back with empty numbers. Costs 10 credits a call.
10 credits per call, up to 100 keywords. Works with a read only key. POST /api/v1/keywords/lookup
| Parameter | Type | Required | What it does |
|---|---|---|---|
phrases | list of string | Yes | The phrases to look up, up to 100. |
country | string | No | Two letter country code the search or question is asked from. Default us. |
language | string | No | Language code such as en or de. Defaults to the main language of the country. |
detail | "compact" | "full" | No | compact is short and ready to chain into the next call. full returns the raw detail. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
Example request
curl -X POST "https://peakanswer.com/api/v1/keywords/lookup" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"phrases":["example.com"]}'The same call from an MCP client:
{
"name": "keywords_lookup",
"arguments": {
"phrases": [
"example.com"
]
}
}Example response
{
"data": {
"country": "example.com",
"from_cache": true,
"items": [
{
"phrase": "example.com",
"monthly_searches": 1,
"difficulty": 1,
"cpc": 1,
"intent": "example.com",
"trend": [
{
"month": "example.com",
"monthly_searches": 1
}
]
}
],
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Phrase ideas keywords_ideas
Finds related phrases and the questions people ask for a starting phrase, with monthly searches for each. Costs 10 credits a call.
10 credits per call. Works with a read only key. POST /api/v1/keywords/ideas
| Parameter | Type | Required | What it does |
|---|---|---|---|
seed | string | Yes | The phrase to start from. |
country | string | No | Two letter country code the search or question is asked from. Default us. |
language | string | No | Language code such as en or de. Defaults to the main language of the country. |
limit | integer | No | How many ideas to return, 1 to 100. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
Example request
curl -X POST "https://peakanswer.com/api/v1/keywords/ideas" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"seed":"example.com"}'The same call from an MCP client:
{
"name": "keywords_ideas",
"arguments": {
"seed": "example.com"
}
}Example response
{
"data": {
"seed": "example.com",
"country": "example.com",
"from_cache": true,
"ideas": [
{
"phrase": "example.com",
"monthly_searches": 1,
"intent": "example.com"
}
],
"questions": [
{
"phrase": "example.com",
"monthly_searches": 1,
"intent": "example.com"
}
],
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Domains
What a site ranks for domain_ranked_keywords
Lists the phrases a site ranks for in Google, best position first, with the page that ranks and the monthly searches for each. Costs 20 credits a call.
20 credits per call. Works with a read only key. POST /api/v1/domain/ranked-keywords
| Parameter | Type | Required | What it does |
|---|---|---|---|
domain | string | Yes | A website address such as example.com. |
country | string | No | Two letter country code the search or question is asked from. Default us. |
language | string | No | Language code such as en or de. Defaults to the main language of the country. |
limit | integer | No | How many phrases to return, 1 to 100. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
Example request
curl -X POST "https://peakanswer.com/api/v1/domain/ranked-keywords" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"example.com"}'The same call from an MCP client:
{
"name": "domain_ranked_keywords",
"arguments": {
"domain": "example.com"
}
}Example response
{
"data": {
"domain": "example.com",
"country": "example.com",
"from_cache": true,
"total": 1,
"items": [
{
"phrase": "example.com",
"position": 1,
"url": "example.com",
"monthly_searches": 1
}
],
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}How strong a site is domain_strength
Gives a site's authority score from 0 to 100, how many links point at it and from how many different sites, its spam score, and the Ahrefs Domain Rating when it is available. Costs 20 credits a call.
20 credits per call. Works with a read only key. POST /api/v1/domain/strength
| Parameter | Type | Required | What it does |
|---|---|---|---|
domain | string | Yes | A website address such as example.com. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
Example request
curl -X POST "https://peakanswer.com/api/v1/domain/strength" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"domain":"example.com"}'The same call from an MCP client:
{
"name": "domain_strength",
"arguments": {
"domain": "example.com"
}
}Example response
{
"data": {
"domain": "example.com",
"authority": 1,
"backlinks": 1,
"referring_domains": 1,
"spam_score": 1,
"ahrefs_domain_rating": 1,
"from_cache": true,
"checked_at": "example.com",
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Backlinks
Backlinks backlinks_list
Lists the links pointing at a site or one page, strongest linking site first: the page that links, the page it links to, the link text, whether it passes ranking credit, and how strong the linking site is. Costs 20 credits a call.
20 credits per call. Works with a read only key. POST /api/v1/backlinks/list
| Parameter | Type | Required | What it does |
|---|---|---|---|
target | string | Yes | A site such as example.com, or a full page address. |
one_per_domain | boolean | No | Show one link from each linking site. Set false to see every link. |
limit | integer | No | How many links to return, 1 to 100. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
Example request
curl -X POST "https://peakanswer.com/api/v1/backlinks/list" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"target":"example.com"}'The same call from an MCP client:
{
"name": "backlinks_list",
"arguments": {
"target": "example.com"
}
}Example response
{
"data": {
"target": "example.com",
"from_cache": true,
"total": 1,
"items": [
{
"from_url": "example.com",
"from_domain": "example.com",
"to_url": "example.com",
"anchor": "example.com",
"follow": true,
"domain_strength": 1,
"first_seen": "example.com"
}
],
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Citations
Which sites the engines cite citations_sources
Shows which sites and pages AI engines cite for a topic, and whether yours is one of them. It asks ChatGPT, Gemini and Google AI Mode the topic and any extra questions, and adds what this account stored in the last 30 days. The result is held for a week and shared across accounts by topic and country. Costs 10 credits a call. Costs 2 when the answer is already held from earlier searches.
10 credits per call, 2 when answered from the shared cache. Works with a read only key. POST /api/v1/citations/sources
| Parameter | Type | Required | What it does |
|---|---|---|---|
topic | string | Yes | The topic, written as a question a buyer would ask. |
questions | list of string | No | Up to 4 more questions on the same topic. |
country | string | No | Two letter country code the search or question is asked from. Default us. |
domain | string | No | A website address such as example.com. When given, the response says whether it is named or listed. |
detail | "compact" | "full" | No | compact is short and ready to chain into the next call. full returns the raw detail. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl -X POST "https://peakanswer.com/api/v1/citations/sources" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"topic":"example.com"}'The same call from an MCP client:
{
"name": "citations_sources",
"arguments": {
"topic": "example.com"
}
}Example response
{
"data": {
"topic": "example.com",
"country": "example.com",
"from_cache": true,
"runs": 1,
"engines": [
"example.com"
],
"domains": [
{
"domain": "example.com",
"citations": 1,
"engines": [
"example.com"
]
}
],
"pages": [
{
"url": "example.com",
"domain": "example.com",
"title": "example.com",
"citations": 1
}
],
"you": {
"domain": "example.com",
"cited": true,
"pages": [
"example.com"
]
},
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Threads
Threads for a topic threads_search
Finds the Reddit, Quora, YouTube and forum threads for a topic: the ones that rank in Google and the ones AI engines have cited in this account's stored runs. Each thread comes with its link, its votes and comments where the site shows them, its Google position and how many stored answers cited it. Costs 10 credits a call.
10 credits per call. Works with a read only key. POST /api/v1/threads/search
| Parameter | Type | Required | What it does |
|---|---|---|---|
topic | string | Yes | The topic or question to find threads for. |
country | string | No | Two letter country code the search or question is asked from. Default us. |
limit | integer | No | How many threads to return, 1 to 100. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
Example request
curl -X POST "https://peakanswer.com/api/v1/threads/search" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"topic":"example.com"}'The same call from an MCP client:
{
"name": "threads_search",
"arguments": {
"topic": "example.com"
}
}Example response
{
"data": {
"topic": "example.com",
"from_cache": true,
"items": [
{
"kind": "reddit",
"url": "example.com",
"title": "example.com",
"community": "example.com",
"score": 1,
"comments": 1,
"posted_at": "example.com",
"google_position": 1,
"cited_by_ai": 1
}
],
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Facts
What engines say about a brand facts_check
Asks each engine what it says about the brand and compares the answer with the facts. It flags a wrong price, minimum, founding year, team size, location, a feature that is not out yet and a word the brand avoids, with the exact wording. Facts come from what you pass, or the brand's confirmed facts, or the brand's own site. Costs 10 credits an engine.
10 credits per engine. Works with a read only key. POST /api/v1/facts/check
| Parameter | Type | Required | What it does |
|---|---|---|---|
facts | object | No | The facts to check against. Leave out to use the brand's own. |
engines | list of "chatgpt" | "gemini" | "google_ai_mode" | "perplexity" | "claude" | No | Engines to ask, from chatgpt, gemini, google_ai_mode, perplexity, claude. |
country | string | No | Two letter country code the search or question is asked from. Default us. |
domain | string | No | A website address such as example.com. When given, the response says whether it is named or listed. |
detail | "compact" | "full" | No | compact is short and ready to chain into the next call. full returns the raw detail. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl -X POST "https://peakanswer.com/api/v1/facts/check" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{}'The same call from an MCP client:
{
"name": "facts_check",
"arguments": {}
}Example response
{
"data": {
"facts_from": "given",
"facts_checked": [
"example.com"
],
"engines": [
{
"engine": "example.com",
"engine_label": "example.com",
"answer": "example.com",
"run_id": "example.com",
"mismatches": [
{
"fact": "example.com",
"found": "example.com",
"expected": "example.com",
"line": "example.com"
}
]
}
],
"mismatches": 1,
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Page checks
Check one page page_audit
Checks one page for Google and AI readiness: whether it loads, title, description, headings, canonical, schema, images and thin content, plus whether it answers up front and has question headings. Each problem comes with the fix. Costs 20 credits a page.
20 credits per page. Works with a read only key. POST /api/v1/audit/page
| Parameter | Type | Required | What it does |
|---|---|---|---|
url | string | Yes | The page address, such as https://example.com/pricing. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
Example request
curl -X POST "https://peakanswer.com/api/v1/audit/page" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"example.com"}'The same call from an MCP client:
{
"name": "page_audit",
"arguments": {
"url": "example.com"
}
}Example response
{
"data": {
"url": "example.com",
"reachable": true,
"score": 1,
"issues": [
{
"code": "example.com",
"severity": "example.com",
"title": "example.com",
"fix": "example.com"
}
],
"answer_readiness": {
"verdict": "example.com",
"headline": "example.com",
"checks": [
{
"label": "example.com",
"status": "example.com",
"detail": "example.com"
}
]
},
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Site checks
Audit a site site_audit
The full technical and answer-readiness audit for one site in a single call: AI crawler access, robots.txt, sitemap, structured data, headings, meta description, readability and the entities the page states. Returns in seconds. Costs 20 credits a site.
20 credits per site. Works with a read only key. POST /api/v1/audit/site
| Parameter | Type | Required | What it does |
|---|---|---|---|
url | string | Yes | The page or domain to audit. |
extra_checks | list of "redirect-chain-checker" | "broken-link-checker" | "page-speed-checker" | No | Slower checks to add: redirect-chain-checker, broken-link-checker, page-speed-checker. Each adds 10 to 30 seconds. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
Example request
curl -X POST "https://peakanswer.com/api/v1/audit/site" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"example.com"}'The same call from an MCP client:
{
"name": "site_audit",
"arguments": {
"url": "example.com"
}
}Example response
{
"data": {
"url": "example.com",
"report": "example.com",
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Coverage
What the top pages cover coverage_map
Reads the pages that rank for a search and lists what they say: the claims most of them make, the common ones and the rare ones, so a page can cover what the top results cover. The map is shared and held for 60 days. Costs 10 credits a map.
10 credits per map. Works with a read only key. POST /api/v1/coverage/map
| Parameter | Type | Required | What it does |
|---|---|---|---|
query | string | Yes | The search or question to map. |
detail | "compact" | "full" | No | compact is short and ready to chain into the next call. full returns the raw detail. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl -X POST "https://peakanswer.com/api/v1/coverage/map" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"example.com"}'The same call from an MCP client:
{
"name": "coverage_map",
"arguments": {
"query": "example.com"
}
}Example response
{
"data": {
"query": "example.com",
"built_at": "example.com",
"pages_read": 1,
"pages_unreachable": 1,
"table_stakes": [
{
"claim": "example.com",
"pages": 1
}
],
"common": [
{
"claim": "example.com",
"pages": 1
}
],
"optional": [
{
"claim": "example.com",
"pages": 1
}
],
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}AI crawlers
Can AI crawlers reach a site crawler_check
Checks whether GPTBot, ClaudeBot, PerplexityBot, Google-Extended and the other AI crawlers are allowed in by the site's robots.txt, and flags rules that contradict each other. It is also a free tool on the website. Costs 0 credits.
Free (0 credits). Works with a read only key. POST /api/v1/crawlers/check
| Parameter | Type | Required | What it does |
|---|---|---|---|
url | string | Yes | The site, such as example.com. |
watch | boolean | No | Set true to run this again on a schedule and keep every run. Each rerun costs the same credits. |
watch_frequency | "daily" | "weekly" | No | How often a watched call reruns. Used only when watch is true. |
Example request
curl -X POST "https://peakanswer.com/api/v1/crawlers/check" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"example.com"}'The same call from an MCP client:
{
"name": "crawler_check",
"arguments": {
"url": "example.com"
}
}Example response
{
"data": {
"url": "example.com",
"verdict": "example.com",
"headline": "example.com",
"summary": "example.com",
"crawlers": [
{
"name": "example.com",
"status": "allowed",
"detail": "example.com"
}
],
"robots_found": true,
"watch": {
"id": "example.com",
"frequency": "daily",
"next_run_at": "example.com",
"created": true
}
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Your Search Console
Search Console data gsc_query
Reads the connected Search Console: clicks, impressions, click-through and position, grouped by date, query, page, country or device, with filters. With nothing given it lists the queries closest to page one. Connect Search Console from the account page first. Costs 0 credits.
Free (0 credits). Works with a read only key. POST /api/v1/gsc/query
| Parameter | Type | Required | What it does |
|---|---|---|---|
view | "auto" | "performance" | "trend" | "striking_distance" | "ctr_outliers" | "cannibalised" | No | Which report. Leave out to let the other fields choose: dimensions, filters or dates give performance, days gives trend, nothing gives striking distance. |
source | "auto" | "stored" | "live" | No | stored reads the copy Peak Answer keeps and updates each night. live asks Google now. Leave out for the usual one. |
startDate | string | No | YYYY-MM-DD. Default 28 days before endDate. Search Console keeps about 16 months. |
endDate | string | No | YYYY-MM-DD. Default 2 days ago, the newest day with complete data. |
days | integer | No | Window in days for the trend. Default 90, maximum 180. |
dimensions | list of "date" | "hour" | "query" | "page" | "country" | "device" | "searchAppearance" | No | What to group by, in order. Empty gives one total row. hour needs dataState hourly_all and a range of 10 days at most. |
type | "web" | "image" | "video" | "news" | "googleNews" | "discover" | No | Search type. Default web. |
filters | list of object | No | Filters, all of which must match. Example: [{"dimension":"query","operator":"contains","expression":"pricing"}]. |
aggregationType | "auto" | "byPage" | "byProperty" | No | How Google aggregates. byProperty is only valid when page is not a dimension. |
dataState | "final" | "all" | "hourly_all" | No | final is complete data only (default). all includes the newest, still-changing days. |
limit | integer | No | Rows to return. Default 1000 for performance, 30 for striking distance, 25 for the other reports. Maximum 5000. |
rowLimit | integer | No | Same as limit. Kept for older callers. |
startRow | integer | No | Zero-based row to start from, for paging. Same as passing the cursor. |
cursor | string | No | Pass next_cursor from the previous page to get the next one. |
site | string | No | A property exactly as the properties call lists it, such as sc-domain:example.com or https://example.com/. Leave out for the property this brand is connected with. |
clean | boolean | No | Leave out searches that are not real people: spike days, probe searches and AI assistant lookups. Default true. Pass false for the raw numbers. The reply says how much was left out. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl -X POST "https://peakanswer.com/api/v1/gsc/query" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{}'The same call from an MCP client:
{
"name": "gsc_query",
"arguments": {}
}Example response
{
"data": {
"view": "performance",
"source": "stored",
"property": "example.com",
"start_date": "example.com",
"end_date": "example.com",
"search_type": "example.com",
"dimensions": [
"example.com"
],
"filters": [
"example.com"
],
"aggregation": "example.com",
"items": [
{
"key": "example.com"
}
],
"totals": {
"clicks": 1,
"impressions": 1,
"ctr": 1,
"position": 1
},
"start_row": 1,
"next_start_row": 1,
"note": "example.com",
"window_days": 1,
"cleaned": true,
"removed": {
"rows": 1,
"clicks": 1,
"impressions": 1,
"line": "example.com"
},
"assistant_lookups": [
{
"key": "example.com"
}
]
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Your Google Analytics
Google Analytics report ga4_report
Runs a report on the connected Google Analytics property: any metrics by any dimensions for any dates, with filters and sorting. Use it for sessions, channels, top pages, countries and events. Connect Google Analytics from the account page first. Costs 0 credits.
Free (0 credits). Works with a read only key. POST /api/v1/ga4/report
| Parameter | Type | Required | What it does |
|---|---|---|---|
dimensions | list of string | No | What to group by, as Google API names: date, country, city, deviceCategory, sessionDefaultChannelGroup, sessionSource, sessionMedium, sessionCampaignName, landingPage, pagePath, pageTitle, eventName, browser, newVsReturning, customEvent:your_parameter and more. Empty gives one total row. ga4_metadata lists every name. |
metrics | list of string | Yes | What to measure, as Google API names: sessions, totalUsers, activeUsers, newUsers, screenPageViews, engagedSessions, engagementRate, averageSessionDuration, bounceRate, eventCount, keyEvents, conversions, totalRevenue, transactions and more. |
filters | list of object | No | Dimension filters, all of which must match. Example: [{"field":"sessionSource","match":"CONTAINS","value":"chatgpt"}]. |
dimensionFilter | object | No | Google's own FilterExpression for what filters cannot say: OR groups, nested NOT, in-list, numeric. Combined with filters by AND. |
metricFilter | object | No | Google's FilterExpression applied to metric values after grouping, like HAVING in SQL. |
orderBys | list of object | No | Sort order, first entry first. Example: [{"field":"sessions","desc":true}]. |
property | string | No | A property exactly as ga4_properties lists it, such as properties/123456789. Leave out for the property this brand is connected with. |
startDate | string | No | YYYY-MM-DD, today, yesterday or NdaysAgo. Default 28daysAgo. |
endDate | string | No | YYYY-MM-DD, today, yesterday or NdaysAgo. Default yesterday. |
dateRanges | list of object | No | Replaces startDate and endDate. Up to 4 ranges, for comparing periods. Example: [{"startDate":"28daysAgo","endDate":"yesterday"},{"startDate":"56daysAgo","endDate":"29daysAgo"}]. |
limit | integer | No | Rows to return. Default 100, maximum 10,000. |
offset | integer | No | Zero-based row to start from. Same as passing the cursor. |
cursor | string | No | Pass next_cursor from the previous page to get the next one. |
metricAggregations | list of "TOTAL" | "MAXIMUM" | "MINIMUM" | No | Add a TOTAL, MAXIMUM or MINIMUM row across all matching rows. Default TOTAL. |
currencyCode | string | No | ISO 4217, such as USD, for revenue metrics. |
keepEmptyRows | boolean | No | Include rows where every metric is zero. |
comparisons | list of object | No | Google's comparisons, for segment-style comparison columns. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl -X POST "https://peakanswer.com/api/v1/ga4/report" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"metrics":["example.com"]}'The same call from an MCP client:
{
"name": "ga4_report",
"arguments": {
"metrics": [
"example.com"
]
}
}Example response
{
"data": {
"property": {
"id": "example.com",
"name": "example.com"
},
"columns": [
"example.com"
],
"metric_columns": [
"example.com"
],
"rows": [
[
"example.com"
]
],
"totals": [
"example.com"
],
"row_count": 1,
"notes": [
"example.com"
],
"ranges": "example.com",
"offset": 1,
"next_offset": 1,
"currency": "example.com",
"time_zone": "example.com",
"quota_tokens_left": 1
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Your PostHog
PostHog query posthog_query
Runs one read-only SELECT on the connected PostHog project and returns the rows. Only a single SELECT is accepted, it returns up to 1,000 rows and stops after 20 seconds. Connect PostHog from the account page first. Costs 0 credits.
Free (0 credits). Works with a read only key. POST /api/v1/posthog/query
| Parameter | Type | Required | What it does |
|---|---|---|---|
hogql | string | Yes | One HogQL SELECT, such as SELECT event, count() FROM events WHERE timestamp > now() - INTERVAL 7 DAY GROUP BY event ORDER BY count() DESC. |
limit | integer | No | Most rows to return. A LIMIT in the query above this is lowered to it. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl -X POST "https://peakanswer.com/api/v1/posthog/query" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY" \
-H "Content-Type: application/json" \
-d '{"hogql":"example.com"}'The same call from an MCP client:
{
"name": "posthog_query",
"arguments": {
"hogql": "example.com"
}
}Example response
{
"data": {
"columns": [
"example.com"
],
"rows": [
[
{}
]
],
"row_count": 1,
"truncated": true,
"limit": 1,
"query": "example.com"
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Visits from AI
Visits from AI assistants my_ai_visits
Lists the visits that reached the site from an AI assistant such as ChatGPT, Claude or Perplexity, as the connected Google Analytics and PostHog count them. The two sources are never added together. Costs 0 credits.
Free (0 credits). Works with a read only key. GET /api/v1/ai-referrals
| Parameter | Type | Required | What it does |
|---|---|---|---|
source | string | No | "ga4" (also "Google Analytics") or "posthog". Leave out for every connected source. |
brand | string | No | Site id or domain. Needed with a key that covers every site. |
Example request
curl "https://peakanswer.com/api/v1/ai-referrals" \
-H "Authorization: Bearer $PEAK_ANSWER_KEY"The same call from an MCP client:
{
"name": "my_ai_visits",
"arguments": {}
}Example response
{
"data": {
"items": [
{
"provider": "ga4",
"label": "example.com",
"days": 1,
"total": 1,
"previous": 1,
"engaged": 1,
"key_events": 1,
"by_engine": [
{
"engine": "example.com",
"label": "example.com",
"sessions": 1
}
],
"series": [
{
"day": "example.com",
"sessions": 1
}
],
"last_sync_at": "example.com",
"sync_error": "example.com"
}
]
},
"next_cursor": null,
"meta": {
"as_of": "2026-11-23T00:00:00.000Z",
"source": "peakanswer",
"credits_used": 0,
"credits_left": 1450
}
}Watched items
Add watch: true to a data call, with watch_frequency set to daily or weekly, and it runs again on schedule. Each run costs the normal credits and is stored, so you can read the history and what changed for free. Turn a watch on or off with the watch tools.
Loading your watched items.
Errors and limits
A refused call answers with an error object holding code, message and fix_url, the page that fixes it.
| Code | Status | What it means |
|---|---|---|
plan_limit | 403 | The plan does not allow this, for example more watched items than it includes. |
insufficient_credits | 402 | The account has fewer credits than the call needs. Nothing is charged for a refused call. The fix_url opens the Credits page. |
missing_scope | 403 | The key can only read. Make a key that can also make changes. |
not_found | 404 | No item with that id belongs to this account. |
invalid_input | 400 | A field is missing or not valid. The message names it. |
rate_limited | 429 | Too many requests. Wait the seconds in Retry-After. |
unauthorized | 401 | The key is missing, wrong or revoked. |
internal | 500 | The server could not finish. Nothing is charged. Try again shortly. |
Requests a minute: Free 30, Starter 60, Pro 120, Agency 300. Responses carry RateLimit-Remaining, and a limited call carries Retry-After.