01 — overview
Serpix API
One endpoint. Live Google results in, clean structured JSON out: organic results, ads, answer boxes, knowledge graphs, and related questions, parsed and typed. v1 covers Google web search.
Base URL
https://api.serpix.ioAll requests are authenticated with an API key in the Authorization header and billed in credits: one credit per page of results, and failed requests are never charged. Create a key in the console and you're ready.
Your first request
curl "https://api.serpix.io/v1/search?q=best+espresso+machines&gl=de" \
-H "Authorization: Bearer $SERPIX_API_KEY"The response is a single JSON object. Blocks that Google didn't show for the query are omitted entirely, never null, never []:
{
"search_metadata": {
"id": "srx_kq3v9tR2xLw8mA1c",
"status": "success",
"took_ms": 1184,
"parser_version": "2026.07.1"
},
"organic_results": [
{
"position": 1,
"title": "The 7 Best Espresso Machines of 2026, Tested",
"link": "https://www.seriouseats.com/best-espresso-machines",
"snippet": "After 120 hours of side-by-side testing..."
}
]
}