To use the ZenCrawl API, you need an API key. You can create and manage your API keys in the Dashboard.

Getting your API Key

  1. Log in to your ZenCrawl Dashboard.
  2. Navigate to the Settings > Credential section.
  3. Click Create, then type the name of your Credential(API key).
  4. Submit the form.
  5. Copy the key immediately. For security reasons, it may not be shown again.

Keep your API keys secure. Do not share them in publicly accessible areas such as GitHub, client-side code, or front-end applications.

Authenticating Requests

Authenticate your API requests by including your API key in the Authorization header.

Authorization: Bearer <YOUR_API_KEY>

Example Request

curl --request POST \
  --url https://api.zencrawl.com/v1/datasuite/fetch \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{"unblocker":false,"proxy":{"type":"none"},"mobile":false,"block_ads":false,"wait_until":"domcontentloaded","timeout_ms":30000,"sync_mode":true,"url":"https://ipapi.co/json/","browser_render":false,"minify_html":true,"base":"api.fetch.request"}'

Was this page helpful?