Inicio rápido
serp.cheap convierte una búsqueda de Google en JSON limpio a través de un único endpoint HTTPS.
- URL base:
https://api.serp.cheap - Endpoint:
POST /v1/search - Autenticación: una cabecera
x-api-key
1. Obtén una clave de API
Sección titulada «1. Obtén una clave de API»Inicia sesión en app.serp.cheap y crea una clave. Cada cuenta nueva comienza con créditos gratuitos.
2. Haz una petición
Sección titulada «2. Haz una petición»Envía tu consulta como JSON con tu clave en la cabecera 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. Lee la respuesta
Sección titulada «3. Lee la respuesta»Los resultados llegan ordenados, con un Knowledge Graph opcional y estadísticas de facturación.
{ "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 pasos
Sección titulada «Próximos pasos»- Autenticación — claves, cabeceras y los errores de autenticación.
- Parámetros de búsqueda — país, idioma, filtros de tiempo, paginación.
- Forma de la respuesta — orgánicos, anuncios, Knowledge Graph, búsquedas relacionadas.
- SDKs — bibliotecas oficiales para JS, Python, Go, Rust y Java.