Dataforseo Labs / Google / Ranked Keywords / Live API
Get Labs / Google / Ranked Keywords / Live data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. 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.012 base + $0.00012 / result Published pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Dataforseo Labs / Google / Ranked Keywords / Live API
Prepare your request, then continue with your agent.
Pricing
$0.012 base + $0.00012 / result
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- API
- Pricing
On this page
Overview
Dataforseo Labs / Google / Ranked Keywords / Live API
Retrieve labs Google Ranked Keywords Live 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 — Dataforseo Labs / Google / Ranked Keywords / Live |
| 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/dataforseo_labs/google/ranked_keywords/live' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"item_types": [
"ai_overview_reference"
],
"language_name": "English",
"limit": 2,
"location_name": "United States",
"target": "medium.com"
}
]'
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 Labs / Google / Ranked Keywords / Live 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 — Dataforseo Labs / Google / Ranked Keywords / Live · POST · View API reference | $0.012 base + $0.00012 / result | 0 | —successP50— |
- Pricing
- $0.012 base + $0.00012 / result
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/dataforseo_labs/google/ranked_keywords/live- 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 | This endpoint will provide you with the list of keywords that any domain, subdomain, or webpage is ranking for. You will also get SERP elements related to the keyword position, as well as monthly searches and other data relevant to the returned keywords. 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[]costnumberdataobjectapistringfunctionstringitem_typesstring[]language_namestringlimitintegerlocation_namestringse_typestringtargetstring
idstringpathstring[]resultobject[]itemsobject[]keyword_dataobjectavg_backlinks_infoobjectbacklinksnumberdofollownumberlast_updated_timestringmain_domain_ranknumberranknumberreferring_domainsnumberreferring_main_domainsnumberreferring_pagesnumberse_typestring
clickstream_keyword_infonullkeywordstringkeyword_infoobjectcategoriesinteger[]competitionnullcompetition_levelstringcpcnullhigh_top_of_page_bidnulllast_updated_timestringlow_top_of_page_bidnullmonthly_searchesobject[]monthintegersearch_volumeintegeryearinteger
se_typestringsearch_volumeintegersearch_volume_trendobjectmonthlyintegerquarterlyintegeryearlyinteger
keyword_info_normalized_with_bingnullkeyword_info_normalized_with_clickstreamnullkeyword_propertiesobjectcore_keywordnulldetected_languagestringis_another_languagebooleankeyword_difficultyintegerse_typestringsynonym_clustering_algorithmstring
language_codestringlocation_codeintegerse_typestringsearch_intent_infoobjectforeign_intentnulllast_updated_timestringmain_intentstringse_typestring
serp_infoobjectcheck_urlstringlast_updated_timestringprevious_updated_timestringse_results_countintegerse_typestringserp_item_typesstring[]
ranked_serp_elementobjectcheck_urlstringis_lostbooleankeyword_difficultyintegerlast_updated_timestringprevious_updated_timestringse_results_countintegerse_typestringserp_itemobjectbacklinks_infonullclickstream_etvnulldomainstringestimated_paid_traffic_costnulletvnumbermain_domainstringrank_absoluteintegerrank_changesobjectis_downbooleanis_newbooleanis_upbooleanprevious_rank_absolutenull
rank_groupintegerrank_infoobjectmain_domain_rankintegerpage_rankinteger
relative_urlstringse_typestringsourcestringtextstringtitlestringtypestringurlstring
serp_item_typesstring[]
se_typestring
items_countintegerlanguage_codestringlocation_codeintegermetricsobjectai_overview_referenceobjectclickstream_age_distributionnullclickstream_etvnullclickstream_gender_distributionnullcountintegerestimated_paid_traffic_costnumberetvnumberis_downintegeris_lostintegeris_newintegeris_upintegerpos_1integerpos_11_20integerpos_21_30integerpos_2_3integerpos_31_40integerpos_41_50integerpos_4_10integerpos_51_60integerpos_61_70integerpos_71_80integerpos_81_90integerpos_91_100integer
featured_snippetnulllocal_packnullorganicnullpaidnull
metrics_absolutenullse_typestringtargetstringtotal_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.012000. 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 |
| 本次返回结果 | $0.000120 / result | Response · /tasks/0/result/0/items_count · Numeric value | Always | 1000 result · 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.132000.
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 · 官方历史成对样例(未运行) (HTTP assumed)
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- This endpoint will provide you with the list of keywords that any domain, subdomain, or webpage is ranking for. You will also get SERP elements related to the keyword position, as well as monthly searches and other data relevant to the returned keywords.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/dataforseo_labs/google/ranked_keywords/live' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '[ { "item_types": [ "ai_overview_reference" ], "language_name": "English", "limit": 2, "location_name": "United States", "target": "medium.com" } ]'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "cost": 0.0102, "status_code": 20000, "status_message": "Ok.", "tasks": [ { "cost": 0.0102, "data": { "api": "dataforseo_labs", "function": "ranked_keywords", "item_types": [ "ai_overview_reference" ], "language_name": "English", "limit": 2, "location_name": "United States", "se_type": "google", "target": "medium.com" }, "id": "08181607-1535-0381-0000-b4f8ce69e326", "path": [ "v3", "dataforseo_labs", "google", "ranked_keywords", "live" ], "result": [ { "items": [ { "keyword_data": { "avg_backlinks_info": { "backlinks": 29.100000381469727, "dofollow": 26, "last_updated_time": "2025-07-09 12:29:31 +00:00", "main_domain_rank": 818.7999877929688, "rank": 56, "referring_domains": 8.899999618530273, "referring_main_domains": 7.599999904632568, "referring_pages": 28.299999237060547, "se_type": "google" }, "clickstream_keyword_info": null, "keyword": "0 money", "keyword_info": { "categories": [ 10012, 10094 ], "competition": null, "competition_level": "LOW", "cpc": null, "high_top_of_page_bid": null, "last_updated_time": "2025-07-17 14:06:36 +00:00", "low_top_of_page_bid": null, "monthly_searches": [ { "month": 6, "search_volume": 50, "year": 2025 }, { "month": 5, "search_volume": 70, "year": 2025 }, { "month": 4, "search_volume": 70, "year": 2025 }, { "month": 3, "search_volume": 70, "year": 2025 }, { "month": 2, "search_volume": 40, "year": 2025 }, { "month": 1, "search_volume": 50, "year": 2025 }, { "month": 12, "search_volume": 30, "year": 2024 }, { "month": 11, "search_volume": 20, "year": 2024 }, { "month": 10, "search_volume": 40, "year": 2024 }, { "month": 9, "search_volume": 90, "year": 2024 }, { "month": 8, "search_volume": 50, "year": 2024 }, { "month": 7, "search_volume": 50, "year": 2024 } ], "se_type": "google", "search_volume": 50, "search_volume_trend": { "monthly": -29, "quarterly": -29, "yearly": 67 } }, "keyword_info_normalized_with_bing": null, "keyword_info_normalized_with_clickstream": null, "keyword_properties": { "core_keyword": null, "detected_language": "en", "is_another_language": false, "keyword_difficulty": 8, "se_type": "google", "synonym_clustering_algorithm": "text_processing" }, "language_code": "en", "location_code": 2840, "se_type": "google", "search_intent_info": { "foreign_intent": null, "last_updated_time": "2023-03-03 20:24:00 +00:00", "main_intent": "informational", "se_type": "google" }, "serp_info": { "check_url": "https://www.google.com/search?q=0%20money&num=100&hl=en&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&glp=1&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc", "last_updated_time": "2025-07-09 12:29:30 +00:00", "previous_updated_time": "2025-05-26 19:40:00 +00:00", "se_results_count": 3750000000, "se_type": "google", "serp_item_types": [ "ai_overview", "images", "people_also_ask", "organic", "related_searches" ] } }, "ranked_serp_element": { "check_url": "https://www.google.com/search?q=0%20money&num=100&hl=en&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&glp=1&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc", "is_lost": false, "keyword_difficulty": 8, "last_updated_time": "2025-07-09 12:29:30 +00:00", "previous_updated_time": "2025-05-26 19:40:00 +00:00", "se_results_count": 3750000000, "se_type": "google", "serp_item": { "backlinks_info": null, "clickstream_etv": null, "domain": "medium.com", "estimated_paid_traffic_cost": null, "etv": 15.199999809265137, "main_domain": "medium.com", "rank_absolute": 3, "rank_changes": { "is_down": false, "is_new": false, "is_up": false, "previous_rank_absolute": null }, "rank_group": 1, "rank_info": { "main_domain_rank": 754, "page_rank": 0 }, "relative_url": "/the-andela-way/the-value-of-zero-4581275b3b18", "se_type": "google", "source": "Medium", "text": "Jul 2, 2019 — A zero bank account balance means that I have no money on my account. It also means that I do not owe any money to the ...", "title": "The Value of Zero. Many people think of zero as a number… | by Jackie Ochola | The Andela Way", "type": "ai_overview_reference", "url": "https://medium.com/the-andela-way/the-value-of-zero-4581275b3b18" }, "serp_item_types": [ "ai_overview", "images", "people_also_ask", "organic", "related_searches" ] }, "se_type": "google" }, { "keyword_data": { "avg_backlinks_info": { "backlinks": 52.900001525878906, "dofollow": 34.099998474121094, "last_updated_time": "2025-07-04 05:15:08 +00:00", "main_domain_rank": 815.0999755859375, "rank": 90.5999984741211, "referring_domains": 6.199999809265137, "referring_main_domains": 6, "referring_pages": 37, "se_type": "google" }, "clickstream_keyword_info": null, "keyword": "0 o'clock", "keyword_info": { "categories": [ 10009, 10021, 10171, 10405, 10899, 11531 ], "competition": null, "competition_level": "LOW", "cpc": null, "high_top_of_page_bid": null, "last_updated_time": "2025-07-17 00:05:37 +00:00", "low_top_of_page_bid": null, "monthly_searches": [ { "month": 6, "search_volume": 170, "year": 2025 }, { "month": 5, "search_volume": 170, "year": 2025 }, { "month": 4, "search_volume": 140, "year": 2025 }, { "month": 3, "search_volume": 170, "year": 2025 }, { "month": 2, "search_volume": 110, "year": 2025 }, { "month": 1, "search_volume": 90, "year": 2025 }, { "month": 12, "search_volume": 110, "year": 2024 }, { "month": 11, "search_volume": 90, "year": 2024 }, { "month": 10, "search_volume": 90, "year": 2024 }, { "month": 9, "search_volume": 90, "year": 2024 }, { "month": 8, "search_volume": 90, "year": 2024 }, { "month": 7, "search_volume": 110, "year": 2024 } ], "se_type": "google", "search_volume": 110, "search_volume_trend": { "monthly": 0, "quarterly": 21, "yearly": 21 } }, "keyword_info_normalized_with_bing": null, "keyword_info_normalized_with_clickstream": null, "keyword_properties": { "core_keyword": null, "detected_language": "en", "is_another_language": false, "keyword_difficulty": 15, "se_type": "google", "synonym_clustering_algorithm": "text_processing" }, "language_code": "en", "location_code": 2840, "se_type": "google", "search_intent_info": { "foreign_intent": null, "last_updated_time": "2023-03-03 20:24:01 +00:00", "main_intent": "informational", "se_type": "google" }, "serp_info": { "check_url": "https://www.google.com/search?q=0%20o%27clock&num=100&hl=en&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&glp=1&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc", "last_updated_time": "2025-07-04 05:15:08 +00:00", "previous_updated_time": "2025-05-19 22:52:10 +00:00", "se_results_count": 63200000, "se_type": "google", "serp_item_types": [ "ai_overview", "organic", "people_also_ask", "images", "related_searches" ] } }, "ranked_serp_element": { "check_url": "https://www.google.com/search?q=0%20o%27clock&num=100&hl=en&gl=US&gws_rd=cr&ie=UTF-8&oe=UTF-8&glp=1&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc", "is_lost": false, "keyword_difficulty": 15, "last_updated_time": "2025-07-04 05:15:08 +00:00", "previous_updated_time": "2025-05-19 22:52:10 +00:00", "se_results_count": 63200000, "se_type": "google", "serp_item": { "backlinks_info": null, "clickstream_etv": null, "domain": "medium.com", "estimated_paid_traffic_cost": null, "etv": 33.439998626708984, "main_domain": "medium.com", "rank_absolute": 1, "rank_changes": { "is_down": false, "is_new": false, "is_up": false, "previous_rank_absolute": null }, "rank_group": 1, "rank_info": { "main_domain_rank": 754, "page_rank": 0 }, "relative_url": "/@corbinhoffmann/the-problem-with-12-00-4dbe8a5cc7e4", "se_type": "google", "source": "Medium", "text": "Dec 9, 2023 — The zero o'clock or 0:00 is actually 12:00. Now that's weird to think about, that the 12 represents a zero.", "title": "The Problem With 12:00…. Twelve o'clock is both midnight and… |", "type": "ai_overview_reference", "url": "https://medium.com/@corbinhoffmann/the-problem-with-12-00-4dbe8a5cc7e4" }, "serp_item_types": [ "ai_overview", "organic", "people_also_ask", "images", "related_searches" ] }, "se_type": "google" } ], "items_count": 2, "language_code": "en", "location_code": 2840, "metrics": { "ai_overview_reference": { "clickstream_age_distribution": null, "clickstream_etv": null, "clickstream_gender_distribution": null, "count": 986598, "estimated_paid_traffic_cost": 31158220.927724153, "etv": 22972498.799742892, "is_down": 0, "is_lost": 0, "is_new": 2, "is_up": 0, "pos_1": 59249, "pos_11_20": 296157, "pos_21_30": 118357, "pos_2_3": 134769, "pos_31_40": 37618, "pos_41_50": 10338, "pos_4_10": 326895, "pos_51_60": 2493, "pos_61_70": 530, "pos_71_80": 143, "pos_81_90": 36, "pos_91_100": 9 }, "featured_snippet": null, "local_pack": null, "organic": null, "paid": null }, "metrics_absolute": null, "se_type": "google", "target": "medium.com", "total_count": 986598 } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "0.0410 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "0.0651 sec.", "version": "0.1.20250812" }