Docs menu

Crawlora Docs

Crawlora API Examples

Copy examples for cURL, TypeScript, Python, and Go. Each example uses the real Crawlora API base URL, x-api-key authentication for API-key endpoints, and generated endpoint paths.

Choose a language

Common example workflows

These examples are backed by real generated endpoint docs. Open each endpoint page for exact schemas and response fields.

POSTGoogleapiKey3 credits/request

Google search API

/google/search

Returns normalized Google web search results. Results are fetched through Rayobrowse-rendered Chrome with availability fanout and stale-cache fallback when available. The endpoint returns 502 when Google serves a challenge page or unusable HTML. Rate limit is enforced at 1 request per second, and if the limit is exceeded a 429 status code is returned with rate limit headers.

POSTGoogle MapapiKey5 credits/request

Google Maps search API

/google/map/search

Returns results from Google Maps based on search options. Rate limit is enforced at 1 request per second.

GETYouTubeapiKey3 credits/request

Retrieve transcript for a YouTube video

/youtube/transcript/{id}

Returns transcript segments for a YouTube video using YouTube's native player captions. Set `format=text`, `format=srt`, or `format=vtt` to receive plain-text output instead of the standard response envelope.

GETTikTokapiKey8 credits/request

Search TikTok videos

/tiktok/search

Searches TikTok videos by keyword with cursor-based pagination.

GETAppStoreapiKey3 credits/request

Retrieve App Store reviews

/appstore/reviews

Returns one page of customer reviews for an app. Provide either `id` or `app_id`.

GETAmazonapiKey2 credits/request

Retrieve Amazon product details

/amazon/product/{asin}

Returns normalized product details for an Amazon ASIN on `amazon.com`, including pricing, availability, overview data, inline review samples, and descriptive content.

Production checklist

  • API key stored in an environment variable
  • Server-side requests only
  • Request timeout
  • Error handling
  • Retry with backoff for temporary failures
  • Rate-limit handling
  • Request ID logging when present
  • Responsible public web data use

Copy a working pattern

Pick a language guide, then switch to endpoint docs for request and response schemas.