Início rápido
A serp.cheap transforma uma busca do Google em JSON limpo através de um único endpoint HTTPS.
- URL base:
https://api.serp.cheap - Endpoint:
POST /v1/search - Auth: um cabeçalho
x-api-key
1. Obtenha uma chave de API
Seção intitulada “1. Obtenha uma chave de API”Entre em app.serp.cheap e crie uma chave. Toda nova conta começa com créditos gratuitos.
2. Faça uma requisição
Seção intitulada “2. Faça uma requisição”Envie sua consulta como JSON com sua chave no cabeçalho x-api-key.
curl -X POST https://api.serp.cheap/v1/search \ -H "x-api-key: YOUR_API_KEY" \ -H "content-type: application/json" \ -d '{ "q": "best running shoes", "gl": "us" }'import { SerpCheap } from "@serpcheap/sdk";
const client = new SerpCheap("YOUR_API_KEY");const res = await client.search({ q: "best running shoes", gl: "us" });console.log(res.organic[0].title);from serpcheap import SerpCheap
client = SerpCheap("YOUR_API_KEY")res = client.search(q="best running shoes", gl="us")print(res.organic[0].title)3. Leia a resposta
Seção intitulada “3. Leia a resposta”Os resultados retornam ranqueados, com um Knowledge Graph opcional e estatísticas de cobrança.
{ "search": "best running shoes", "page": 1, "organic": [ { "position": 1, "title": "The 10 Best Running Shoes of 2026", "link": "https://example.com/best-running-shoes", "snippet": "Our running experts tested 40+ pairs…" } ], "knowledgeGraph": { "title": "Running shoe", "description": "…" }, "stats": { "balance": 9994, "cost": 6, "cached": false }}Próximos passos
Seção intitulada “Próximos passos”- Autenticação — chaves, cabeçalhos e os erros de autenticação.
- Parâmetros de busca — país, idioma, filtros de tempo, paginação.
- Formato da resposta — orgânicos, anúncios, Knowledge Graph, buscas relacionadas.
- SDKs — bibliotecas oficiais para JS, Python, Go, Rust e Java.