cURL
curl --request GET \ --url https://www.fetchserp.com/api/v1/serp_ai/{uuid} \ --header 'Authorization: Bearer <token>'
{ "data": { "query": "<string>", "country": "<string>", "results": [ { "ai_overview": { "content": "<string>", "sources": [ { "site_name": "<string>", "url": "<string>", "title": "<string>", "description": "<string>", "ranking": 123 } ] }, "ai_mode_response": "<unknown>" } ] } }
This endpoint returns the SERP including the AI overview and the search results.
A bearer token that will be supplied within an Authorization header as bearer <token>.
Authorization
bearer <token>
The uuid returned by the SERP JS endpoint
success
Show child attributes