Sites and analyses
List and change your sites, see where each one is in the loop, and run full analyses with their query fan-out.
Updated
In short. A site is a website Peach tracks for you, addressed by its domain. A full analysis reads a site, works out its competitors and buyer questions, and asks the engines: start one with
POST /analyses, and it runs as a background job.
All paths are relative to https://app.gotopeach.com/api/v1.
Sites
| Endpoint | What it does | Credits | Key permission |
|---|---|---|---|
GET /sites |
The account's sites. MCP: list_sites. |
Free | sites |
GET /sites/{domain} |
One site: its check schedule, engines and latest analysis. MCP: get_site. |
Free | sites |
PATCH /sites/{domain} |
Change a site's name, check schedule (weekly or off) or engines. | Free | sites + write |
GET /sites/{domain}/overview |
Where the site is in the loop: understand, track, find, fix, prove, repeat. MCP: get_site_overview. |
Free | sites |
- Addressing. Use the domain
GET /sitesgives you.www.and any path are ignored, so/sites/www.acme.comand/sites/acme.comare the same site. - Where sites come from. A site appears once it has been analysed, in the app or through the API. Your plan sets how many sites the account can have.
- Settings.
PATCH /sites/{domain}takesname(up to 80 characters, ornull),cadence(weeklyoroff, for Peach's own weekly checks) andengines(from your plan's:chatgpt,gemini,perplexity,claude). A site with no settings yet answers404 site_not_founduntil it has had a check or an analysis. - The loop.
GET /sites/{domain}/overviewsays where the site is in Peach's loop: understand, track, find, fix, prove and repeat, with what to do next at each step.
Full analyses
| Endpoint | What it does | Credits | Key permission |
|---|---|---|---|
POST /analyses |
Run a full analysis of a site (about a minute): its questions, competitors, answers and actions. Runs as a background job: answers 202 with a job. MCP: run_analysis. |
50 | sites + write + spend |
GET /analyses |
Analyses run for the account, newest first. MCP: list_analyses. |
Free | sites |
GET /analyses/{id} |
One analysis in full: questions, every engine answer, scores, competitors, actions. MCP: get_analysis. |
Free | sites |
An analysis reads the site, decides what it sells and who it competes with, writes eight buyer questions, asks ChatGPT and Gemini each one, and suggests actions. It takes about a minute.
curl -X POST https://app.gotopeach.com/api/v1/analyses \
-H "Authorization: Bearer $PEACH_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "url": "https://acme.com", "engines": ["chatgpt", "gemini"] }'
- It answers
202with{ "job": { "id", "status": "queued", "url" } }. Follow the job withGET /jobs/{id}(see Jobs), or receive theanalysis.finishedwebhook. enginesis optional: ChatGPT and Gemini by default.- An analysis of a site the account doesn't have yet adds it, within your plan's number of sites.
- Analyses paid with credits don't count towards the number of analyses your plan allows per site in the app.
GET /analyses/{id}returns everything: the questions, every engine's answer, the scores, competitors and actions.- A key limited to some sites can only analyse those sites:
403 site_not_allowed.
Query fan-out
| Endpoint | What it does | Credits | Key permission |
|---|---|---|---|
GET /analyses/{id}/fanout |
An analysis's query fan-out (the sub-questions behind each question), if made. | Free | sites |
POST /analyses/{id}/fanout |
Make an analysis's query fan-out (free when it already exists, unless refresh is true). | 2, or free when it already exists | sites + write + spend |
Fan-out expands each of an analysis's questions into about ten narrower searches an AI engine might run when answering it, so one missed question becomes a list of specific gaps. It is an estimate made by a model, not a record of what the engines searched. For the searches the engines really ran in your checks, see the searches the engines ran.
Making it costs credits once. After that, POST returns the one already made for free, unless you send ?refresh=true to make it again.