DataForSEOWeb & SEO DataSEO/AEO

Start a site audit crawl

dataforseo.x.on-page-task-post

OnPage API checks websites for 60+ customizable on-page parameters defines and displays all found flaws and opportunities for optimization so that you can easily fix them.

Price
$0.018/callAt provider cost
Success rate
100%Last 30 days · 61 calls
Latency p50
579 msp95 887 ms
Last verified
Jul 28, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/dataforseo.x.on-page-task-post?bodyType=jsonPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

the POST body is a JSON array of task objects with these fields, one per crawl; read each crawl (tasks[].id) with the on-page readers, which only the submitting team can read

This tool has no parameters. See provider docs ↗ Provider docs

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X POST 'https://toolswitch.dev/v1/tools/dataforseo.x.on-page-task-post?bodyType=json' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '[{"tag":"some_string_123","target":"dataforseo.com","custom_js":"meta = {}; meta.url = document.URL; meta;","pingback_url":"https://your-server.com/pingscript?id=$id&tag=$tag","load_resources":true,"max_crawl_pages":10,"enable_javascript":true}]'

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.018/call, including the service fee.