{"components":{"securitySchemes":{"APIKey":{"in":"header","name":"X-API-KEY","type":"apiKey"}}},"info":{"title":"SerpCheap","version":"2.0.0"},"openapi":"3.0.3","paths":{"/search":{"post":{"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"gl":{"default":"us","type":"string"},"hl":{"default":"en","type":"string"},"q":{"description":"At most 2000 UTF-8 bytes","maxLength":2000,"type":"string"}},"required":["q"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Each successful request costs one credit, including repeated queries and valid empty results. Final failures cost zero. Rich page modules and optional public HTML snapshot URL."},"401":{"description":"Invalid key"},"402":{"description":"Insufficient credits"},"429":{"description":"Rate limited"},"502":{"description":"Upstream failed; no charge"},"503":{"description":"Provider configuration, capacity or infrastructure unavailable; no final charge"},"504":{"description":"Request timed out; check request logs and balance before submitting again"}},"security":[{"APIKey":[]}]}},"/searches/{id}/html":{"get":{"parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/html":{"schema":{"type":"string"}}},"description":"Public HTML snapshot browser preview; no authentication required; expires after 24 hours"},"404":{"description":"No snapshot or expired snapshot"}},"security":[]}}},"servers":[{"url":"https://serpcheap.com"}]}