DataForSEO On Page / Instant Pages API
Get DataForSEO On Page / Instant Pages data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DataForSEO, configure supported query parameters and filters, and retrieve structured data including returned cost field, returned status code field, returned status message field, business payload, and identifier to search interfaces and source review, and integration reference.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
DataForSEO On Page / Instant Pages API
Prepare your request, then continue with your agent.
Pricing
$0.00015 / call
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
DataForSEO On Page / Instant Pages API
Retrieve on Page Instant Pages with the DataForSEO API. Provide JSON payload in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | body: body |
| Selected implementation | dataforseo · DataForSEO — On Page / Instant Pages |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Search interfaces and source review: Keep returned sources and query context together.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
cost |
Returned cost field |
status_code |
Returned status code field |
status_message |
Returned status message field |
tasks[].data |
Business payload |
tasks[].id |
Identifier |
tasks[].result |
Returned result |
tasks[].cost |
Returned cost field |
tasks[].path |
Returned path field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/on_page/instant_pages' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"custom_js": "meta = {}; meta.url = document.URL; meta;",
"url": "https://dataforseo.com/blog"
}
]'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published DataForSEO On Page / Instant Pages API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — On Page / Instant Pages · POST · View API reference | $0.00015 / call | 0 | —successP50— |
- Pricing
- $0.00015
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/on_page/instant_pages- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
body | JSON request bodybody | array | Yes | Using this function you will get page-specific data with detailed information on how well a particular page is optimized for organic search. for more info please visit https://docs.dataforseo.com/v3/on_page/instant_pages/?bash minItems: 1 · maxItems: 1 Nested fields and variants
Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
costnumberstatus_codeintegerstatus_messagestringtasksobject[]costnumberdataobjectapistringcustom_jsstringfunctionstringurlstring
idstringpathstring[]resultobject[]crawl_progressstringitemsobject[]broken_linksbooleanbroken_resourcesbooleancache_controlobjectcachablebooleanttlinteger
checksobjectcanonicalbooleandeprecated_html_tagsbooleanduplicate_meta_tagsbooleanduplicate_title_tagbooleanflashbooleanframebooleanhas_html_doctypebooleanhas_meta_refresh_redirectbooleanhas_render_blocking_resourcesbooleanhigh_character_countbooleanhigh_content_ratebooleanhigh_loading_timebooleanhigh_waiting_timebooleanhttps_to_http_linksbooleanirrelevant_descriptionbooleanirrelevant_meta_keywordsbooleanirrelevant_titlebooleanis_4xx_codebooleanis_5xx_codebooleanis_brokenbooleanis_httpbooleanis_httpsbooleanis_redirectbooleanis_wwwbooleanlarge_page_sizebooleanlorem_ipsumbooleanlow_character_countbooleanlow_content_ratebooleanlow_readability_ratebooleanmeta_charset_consistencybooleanno_content_encodingbooleanno_descriptionbooleanno_doctypebooleanno_encoding_meta_tagbooleanno_faviconbooleanno_h1_tagbooleanno_image_altbooleanno_image_titlebooleanno_titlebooleanredirect_chainbooleanseo_friendly_urlbooleanseo_friendly_url_characters_checkbooleanseo_friendly_url_dynamic_checkbooleanseo_friendly_url_keywords_checkbooleanseo_friendly_url_relative_length_checkbooleansize_greater_than_3mbbooleansmall_page_sizebooleantitle_too_longbooleantitle_too_shortboolean
click_depthintegercontent_encodingstringcustom_js_responseobjecturlstring
duplicate_contentbooleanduplicate_descriptionbooleanduplicate_titlebooleanencoded_sizeintegerfetch_timestringis_resourcebooleanlocationnullmedia_typestringmetaobjectbroken_htmlobjecterrorsnullwarningsobject[]lineintegermessagestring
canonicalstringcharsetintegercontentobjectautomated_readability_indexnumbercoleman_liau_readability_indexnulldale_chall_readability_indexnumberdescription_to_content_consistencynullflesch_kincaid_readability_indexnumbermeta_keywords_to_content_consistencynullplain_text_ratenumberplain_text_sizeintegerplain_text_word_countintegersmog_readability_indexnumbertitle_to_content_consistencynumber
deprecated_tagsnulldescriptionnulldescription_lengthintegerduplicate_meta_tagsstring[]external_links_countintegerfaviconstringfollowbooleangeneratorstringhtagsobjecth1string[]h2string[]h4string[]
images_countintegerimages_sizeintegerinbound_links_countintegerinternal_links_countintegermeta_keywordsnullrender_blocking_scripts_countintegerrender_blocking_stylesheets_countintegerscripts_countintegerscripts_sizeintegersocial_media_tagsobjectarticle:modified_timestringarticle:published_timestringfb:app_idstringog:site_namestringog:titlestringog:typestringog:urlstringtwitter:cardstring
spellnullstylesheets_countintegerstylesheets_sizeintegertitlestringtitle_lengthinteger
page_timingobjectconnection_timeintegerdom_completeintegerdownload_timeintegerduration_timeintegerfetch_endintegerfetch_startintegerrequest_sent_timeintegertime_to_interactiveintegertime_to_secure_connectionintegerwaiting_timeinteger
resource_typestringserverstringsizeintegerstatus_codeintegertotal_dom_sizeintegertotal_transfer_sizeintegerurlstring
items_countinteger
result_countintegerstatus_codeintegerstatus_messagestringtimestring
tasks_countintegertasks_errorintegertimestringversionstring
Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000150. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| 任务错误数必须为零 | $0.000000 / billing unit | Response · /tasks_error · Numeric value | Always | 0 billing unit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.000150.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · 官方历史成对样例(未运行)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Using this function you will get page-specific data with detailed information on how well a particular page is optimized for organic search. for more info please visit 'https://docs.dataforseo.com/v3/on_page/instant_pages/?bash'
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/on_page/instant_pages' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '[ { "custom_js": "meta = {}; meta.url = document.URL; meta;", "url": "https://dataforseo.com/blog" } ]'Check the response
Sample response · Documented HTTP 200
Sample response{ "cost": 0.000125, "status_code": 20000, "status_message": "Ok.", "tasks": [ { "cost": 0.000125, "data": { "api": "on_page", "custom_js": "meta = {}; meta.url = document.URL; meta;", "function": "instant_pages", "url": "https://dataforseo.com/blog" }, "id": "02261721-0696-0275-0000-c6fbc6685a5b", "path": [ "v3", "on_page", "instant_pages" ], "result": [ { "crawl_progress": "finished", "items": [ { "broken_links": false, "broken_resources": false, "cache_control": { "cachable": false, "ttl": 0 }, "checks": { "canonical": true, "deprecated_html_tags": false, "duplicate_meta_tags": true, "duplicate_title_tag": false, "flash": false, "frame": true, "has_html_doctype": true, "has_meta_refresh_redirect": false, "has_render_blocking_resources": true, "high_character_count": false, "high_content_rate": false, "high_loading_time": false, "high_waiting_time": false, "https_to_http_links": false, "irrelevant_description": false, "irrelevant_meta_keywords": false, "irrelevant_title": false, "is_4xx_code": false, "is_5xx_code": false, "is_broken": false, "is_http": false, "is_https": true, "is_redirect": false, "is_www": false, "large_page_size": false, "lorem_ipsum": false, "low_character_count": false, "low_content_rate": true, "low_readability_rate": false, "meta_charset_consistency": true, "no_content_encoding": false, "no_description": true, "no_doctype": false, "no_encoding_meta_tag": false, "no_favicon": false, "no_h1_tag": false, "no_image_alt": false, "no_image_title": true, "no_title": false, "redirect_chain": false, "seo_friendly_url": true, "seo_friendly_url_characters_check": true, "seo_friendly_url_dynamic_check": true, "seo_friendly_url_keywords_check": true, "seo_friendly_url_relative_length_check": true, "size_greater_than_3mb": false, "small_page_size": false, "title_too_long": false, "title_too_short": false }, "click_depth": 0, "content_encoding": "gzip", "custom_js_response": { "url": "https://dataforseo.com/blog" }, "duplicate_content": false, "duplicate_description": false, "duplicate_title": false, "encoded_size": 20446, "fetch_time": "2021-02-26 17:21:41 +00:00", "is_resource": false, "location": null, "media_type": "text/html", "meta": { "broken_html": { "errors": null, "warnings": [ { "line": 0, "message": "Has node with more than 60 childs." }, { "line": 0, "message": "Has more that 1500 nodes." } ] }, "canonical": "https://dataforseo.com/blog", "charset": 65001, "content": { "automated_readability_index": 8.13152777777778, "coleman_liau_readability_index": null, "dale_chall_readability_index": 7.313126984126985, "description_to_content_consistency": null, "flesch_kincaid_readability_index": 55.072857142857146, "meta_keywords_to_content_consistency": null, "plain_text_rate": 0.012864701790585164, "plain_text_size": 1646, "plain_text_word_count": 280, "smog_readability_index": 17.631426480028413, "title_to_content_consistency": 0.5 }, "deprecated_tags": null, "description": null, "description_length": 0, "duplicate_meta_tags": [ "generator" ], "external_links_count": 11, "favicon": "https://dataforseo.com/wp-content/uploads/2016/11/cropped-Favicon_512-32x32.png", "follow": true, "generator": "Powered by Slider Revolution 5.2.6 - responsive, Mobile-Friendly Slider Plugin for WordPress with comfortable drag and drop interface.", "htags": { "h1": [ "Blog" ], "h2": [ "How to Get Historical Search Volume for Predictive Keyword Research", "DataForSEO January Digest: All the Updates You Don’t Want to Miss!", "How To Extract Blog Metadata Using JavaScript And On-Page API", "Twinword Wins 35% More Paid Customers After Switching To DataForSEO APIs", "Your Powerful Alternative To Google Search Console API", "How to Use Bing Search Volume to Fine-Sharpen Keyword Research", "How to Measure Search Visibility if Rank Tracking Doesn’t Do the Job", "Tap into the World of Local Market Opportunities with Business Data API", "Who Your Potential Customers Are and What They Want From Your SEO Tool", "SEO Data Collection: DIY or API?" ], "h4": [ "Products", "By industry", "By company type", "Docs", "Resources", "Login", "Categories", "APIs", "About", "Legal information", "Follow us on:", "Payment Methods:" ] }, "images_count": 15, "images_size": 0, "inbound_links_count": 0, "internal_links_count": 84, "meta_keywords": null, "render_blocking_scripts_count": 19, "render_blocking_stylesheets_count": 16, "scripts_count": 36, "scripts_size": 0, "social_media_tags": { "article:modified_time": "2018-11-29", "article:published_time": "2017-05-11", "fb:app_id": "979971002139459", "og:site_name": "API for SEO-software companies and agencies", "og:title": "Blog", "og:type": "article", "og:url": "https://dataforseo.com/blog", "twitter:card": "summary" }, "spell": null, "stylesheets_count": 0, "stylesheets_size": 0, "title": "Blog | API for SEO-software companies and agencies", "title_length": 50 }, "page_timing": { "connection_time": 6, "dom_complete": 259, "download_time": 0, "duration_time": 259, "fetch_end": 259, "fetch_start": 0, "request_sent_time": 0, "time_to_interactive": 259, "time_to_secure_connection": 33, "waiting_time": 220 }, "resource_type": "html", "server": "nginx/1.10.1 (Ubuntu)", "size": 127985, "status_code": 200, "total_dom_size": 127985, "total_transfer_size": 20957, "url": "https://dataforseo.com/blog" } ], "items_count": 1 } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "2.3730 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "2.6282 sec.", "version": "0.1.20210129" }