Answer
/api/llm-answers/answer
Ask a question and get the answer with cited sources and citation positions
Scrappa's LLM Answers API sends a prompt to the public, logged-out ChatGPT and returns the answer text, every cited source with link and snippet, citation positions, and the model that answered. Choose Google Gemini as the engine, or ask ChatGPT, Gemini, Google AI Mode and Google AI Overview in one call. It also lists live model catalogs, the public Perplexity answer feed, trending topics, and the public prompt library. Scrappa is an independent service and is not affiliated with or endorsed by OpenAI, Google or Perplexity.
Try it now
Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.
curl -X GET "https://scrappa.co/api/llm-answers/answer?prompt=What+is+the+tallest+mountain+in+Europe%3F" \
-H "Accept: application/json" \
-H "X-API-KEY: YOUR_API_KEY"
{
"success": true,
"data": {
"answer": { "text": "The tallest mountain in Europe is Mount Elbrus, at 5,642 metres.", "length": 66 },
"sources": [
{
"ref_id": "turn0search0",
"title": "El'brus",
"url": "https://education.nationalgeographic.org/resource/elbrus/",
"attribution": "education.nationalgeographic.org",
"cited": true
}
],
"citations": [{ "type": "grouped_webpages", "refs": ["turn0search0"], "start_idx": 66, "end_idx": 66 }],
"search_queries": ["tallest mountain in Europe"],
"model": { "requested": "auto", "resolved": "gpt-6" },
"follow_up": { "available": false, "reason": "Follow-up suggestion text is not available." }
},
"meta": { "duration_ms": 7800, "upstream_calls": 3, "model_calls": 1 }
}
Structured data for real applications. Here are some ideas.
Check which sources and brands a public answer engine cites for the questions your customers ask.
Track how the answer to a fixed prompt changes over time, including its cited sources.
Give an agent a cited answer with source links instead of an unsourced paragraph.
Find the questions where competitors are cited and your pages are not.
Browse trending topics and the public prompt library to find prompts worth tracking.
LLM Answers API
The LLM Answers API is built for AI search visibility work, answer monitoring, and research tools. Send a prompt and get the clean answer text, each cited source with title, link, snippet, and publish date, the position of every citation in the text, the web searches the model ran, and the model that answered. Follow-up suggestion text is not available, so the response says so instead of inventing it.
Set engine=gemini to ask Google Gemini and get markdown with web sources and claim positions.
Set engine=naver for the Naver AI briefing with text blocks, sources and related questions. Set engine=brave for the Brave AI answer with a continuation token for follow-ups.
Call the multi endpoint to compare ChatGPT, Gemini, Google AI Mode and AI Overview. Each engine that answers costs 1 credit.
Ask a question and get answer.text plus sources, citations, search_queries, and model.resolved.
Ask a follow-up by sending the earlier turns in the history parameter.
List the live model catalog of ChatGPT or Perplexity and pass a model id to the answer endpoint.
Browse public Perplexity answers with their cited sources, page by page, by topic.
Read trending topics and the public prompt library for prompt ideas.
Failed requests are never billed. Test the LLM Answers API with 500 free monthly credits.
Send a prompt and read sources[] for the pages the answer cites. Each source has a ref_id that citations[].refs points to, so you can see which sentence relies on which page. Answers take 4 to 60 seconds.
Open LLM Answers Answer API docsRead the live catalog instead of a fixed list, then pass a model id to the answer endpoint. The answer reports the model that really answered in model.resolved.
Open LLM Answers Models API docsThe feed returns finished public answers with their cited sources. It does not answer a prompt you submit. Page with limit and offset and filter with a topic id.
Open LLM Answers Perplexity Feed API docsEverything you need in one API.
/api/llm-answers/answer
Ask a question and get the answer with cited sources and citation positions
/api/llm-answers/models
List the ChatGPT, Perplexity or Gemini model catalog
/api/llm-answers/multi
Ask ChatGPT, Gemini, Naver, Brave, Google AI Mode and AI Overview one question, 1 credit per engine that answers
/api/llm-answers/perplexity-feed
Browse public Perplexity answers with their cited sources
/api/llm-answers/trending
Get the topics ChatGPT currently suggests as trending
/api/llm-answers/prompt-library
Get the public ChatGPT prompt library
See how Scrappa compares to ScrapingBee / ScraperAPI.
| Feature | Scrappa | ScrapingBee / ScraperAPI |
|---|---|---|
| Answer text and cited sources as JSON | Build your own parser | |
| No account or login to manage | Bring your own session | |
| Citation positions in the answer text | ||
| Live model catalogs | ||
| Unified API key | Yes (350+ APIs) | Scraping only |
| Free tier | 500 credits/month | Trial credits |
No. Scrappa is an independent service and is not affiliated with or endorsed by OpenAI or Perplexity. The LLM Answers API returns what the public, logged-out experience shows, as structured JSON.
Send engine=gemini to the answer endpoint. You get the answer as markdown, the web sources with link, domain, favicon and snippet, and the claim positions in the text. Gemini answers one question at a time, so history and model are rejected with status 422. Answers follow the language and region of the request: set locale for the language you need.
Send engine=naver or engine=brave to the answer endpoint. Naver returns its AI briefing with sources and related questions, and shows none for some queries: then answer is null and the request costs 0 credits. Brave returns its AI answer with sources, entities and follow-up questions, plus a continuation_token. Send that token with a new prompt to continue the conversation.
Each engine that returns an answer costs 1 credit. An engine that fails is not billed and does not fail the call. If no engine answers, the call returns status 503 and costs nothing. Microsoft Copilot and Perplexity are not available as engines.
No. The public stream only says whether suggestions exist and never sends their text. The response sets follow_up.available to false and does not invent suggestions.
The service keeps no conversation between requests. Send the earlier turns in the history parameter, for example history[0][role]=user&history[0][text]=..., then the new question in prompt.
No. The Perplexity endpoint returns existing public answers from the Discover feed. Prompts you submit are answered by ChatGPT.
Most answers take 4 to 15 seconds and some take up to a minute, because the model searches the web first. Set your client timeout to at least 90 seconds.
Only requests that return an answer. Requests that fail, return no answer text, or end early use no credits.
Every Scrappa account includes 500 free credits each month. After that, each request costs one credit.