docsRenderdata APIScrape AI engines as JSON.
One REST API and MCP server for live answers from ChatGPT, Gemini and Google AI Overviews. Pick an endpoint, send a question and get the answer and its sources back as JSON. Every endpoint costs a fixed number of credits, charged only when the call succeeds.
1. Sign in with your email to get an API key (10 free credits, no card). 2. Call any endpoint:
cURL
curl -X POST https://api.renderdata.cloud/v1/scrapers/chatgpt/run \
-H "Authorization: Bearer $RENDERDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"Which CRM do you recommend for a startup?"}'
Python
import os, requests
r = requests.post(
"https://api.renderdata.cloud/v1/scrapers/chatgpt/run",
headers={"Authorization": f"Bearer {os.environ['RENDERDATA_API_KEY']}"},
json={"input": "Which CRM do you recommend for a startup?"},
timeout=420,
)
print(r.json()["data"])
JavaScript
const r = await fetch("https://api.renderdata.cloud/v1/scrapers/chatgpt/run", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.RENDERDATA_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ input: "Which CRM do you recommend for a startup?" }),
});
const { ok, data } = await r.json();
Send your key as a bearer token: Authorization: Bearer sb_…. The base URL is https://api.renderdata.cloud. Listing the endpoints (GET /v1/scrapers) needs no key. New accounts also get a trial key (rd_trial_…) that works for runs only.
Every endpoint answers with the same envelope. ok is true when the source returned data; only ok runs are billed. data holds the endpoint's fields (listed per endpoint below). AI answers take 5 to 60 seconds (a long ChatGPT answer up to 3 minutes) and a Google search about 90 seconds, so set your client timeout to 300 seconds.
200 OK
{
"runId": "01a18c4ec57912ff2b30fdf3",
"scraper": "chatgpt",
"url": "Which CRM do you recommend for a startup?",
"ok": true,
"credits": 1,
"data": {
"engine": "chatgpt",
"answer": "...",
"citations": [{ "index": 1, "title": "...", "url": "...", "domain": "..." }],
"readSources": [{ "title": "...", "url": "...", "domain": "..." }],
"searchQueries": ["..."]
},
"meta": { "ms": 31066, "credits": 1, "dataBytes": 48211, "cached": false }
}
The same endpoints are an MCP server at https://api.renderdata.cloud/mcp (Streamable HTTP). Agents get five tools: list_scrapers, scrape_url (any page as markdown), run_scraper, get_run and account. Same key, same credits.
Claude Code
claude mcp add --transport http renderdata https://api.renderdata.cloud/mcp \
--header "Authorization: Bearer $RENDERDATA_API_KEY"
Cursor, Windsurf and other clients (mcp.json)
{
"mcpServers": {
"renderdata": {
"url": "https://api.renderdata.cloud/mcp",
"headers": { "Authorization": "Bearer <your API key>" }
}
}
}
Clients that only take a URL (custom connectors in Claude or ChatGPT) can pass the key in the address: https://api.renderdata.cloud/mcp?key=<your API key>.
Errors return JSON with an error message and, where useful, a code. Failed runs are never billed.
400The input is missing, empty or too long.
401Missing or invalid API key.
402Out of credits. Buy a credit pack.
403Not allowed: a suspended account, a blocked endpoint, or a trial key used outside runs.
404No endpoint with that id.
429Rate limited. Read the Retry-After header; code is one of rate_limited, too_many_concurrent, tool_busy, tool_rate_limited, too_many_failures.
502The source returned no data (ok: false, with an error). Not billed.
503That source is unavailable right now (code tool_unavailable). Not billed.
| Plan | Runs per minute | Runs at once | Price |
|---|
| Pay as you go | 20 per engine | 3 per engine | $1 per 1,000 credits |
| Pro | 40 per engine | 6 per engine | $30/month, 45,000 credits |
Over a limit you get a 429 with a Retry-After header. Details on the pricing page.
Each one is POST /v1/scrapers/{id}/run with {"input": "..."}. The fields below are what comes back in data.
AI search & trends
ChatGPT's reply to one prompt, as an anonymous user. Fast mode: the quickest and most reliable route, usually 20 to 60 seconds (a long answer can take up to 3 minutes). Use Slow mode for big batches where cost matters more than speed.
Input: Prompt · e.g. Which CRM do you recommend for a startup?
Fields and example
- question string
- engine string
- tier fast | slow (the mode this run used)
- answer string (markdown)
- answerText string (plain text)
- citations array
- sources array
- images array of image links
- relatedQuestions array
- readSources array
- searchQueries array of strings (the web searches ChatGPT ran)
curl -X POST https://api.renderdata.cloud/v1/scrapers/chatgpt/run \
-H "Authorization: Bearer $RENDERDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"Which CRM do you recommend for a startup?"}'
Gemini's search-grounded answer to one question, with the sources it used. Fast mode: the quickest and most reliable route, about 5 to 10 seconds.
Input: Question · e.g. What are the main differences between PostgreSQL and MySQL?
Fields and example
- question string
- engine string
- tier fast | slow (the mode this run used)
- answer string (markdown)
- answerText string (plain text)
- citations array
- sources array
- images array of image links
- relatedQuestions array
curl -X POST https://api.renderdata.cloud/v1/scrapers/gemini/run \
-H "Authorization: Bearer $RENDERDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"What are the main differences between PostgreSQL and MySQL?"}'
Google's organic results and AI Overview for one search, always live. Usually about 90 seconds, so set a 300 second client timeout. aiOverview is null when Google shows none. Optional country and language: query :: gl :: hl
Input: Search query · e.g. best crm for small business
Fields and example
- query string
- gl string (results country)
- hl string (language)
- aiOverview object
- organic array
- linksWithoutUrl number (links Google did not release in time)
curl -X POST https://api.renderdata.cloud/v1/scrapers/google-serp/run \
-H "Authorization: Bearer $RENDERDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"best crm for small business"}'
The same ChatGPT reply, on the cheapest route. Slow mode may retry several times, so it takes longer and fails more often than Fast mode (a failed run is not billed). Best for large batches and scheduled checks.
Input: Prompt · e.g. Which CRM do you recommend for a startup?
Fields and example
- question string
- engine string
- tier fast | slow (the mode this run used)
- answer string (markdown)
- answerText string (plain text)
- citations array
- sources array
- images array of image links
- relatedQuestions array
- readSources array
- searchQueries array of strings (the web searches ChatGPT ran)
curl -X POST https://api.renderdata.cloud/v1/scrapers/chatgpt-slow/run \
-H "Authorization: Bearer $RENDERDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"Which CRM do you recommend for a startup?"}'
The same Gemini answer on the cheapest route. Slow mode may retry, so it can take longer and fails more often than Fast mode (a failed run is not billed). Best for large batches and scheduled checks.
Input: Question · e.g. What are the main differences between PostgreSQL and MySQL?
Fields and example
- question string
- engine string
- tier fast | slow (the mode this run used)
- answer string (markdown)
- answerText string (plain text)
- citations array
- sources array
- images array of image links
- relatedQuestions array
curl -X POST https://api.renderdata.cloud/v1/scrapers/gemini-slow/run \
-H "Authorization: Bearer $RENDERDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"What are the main differences between PostgreSQL and MySQL?"}'
Interest over time, related queries and interest by US region for one keyword (past month).
Input: Keyword · e.g. AI
Fields and example
- points array
- top array
- rising array
- regions array
curl -X POST https://api.renderdata.cloud/v1/scrapers/google-trends/run \
-H "Authorization: Bearer $RENDERDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":"AI"}'