---
name: dataseo
description: Analyze public web-page HTML and search Apple App Store apps through the DataSEO API.
---

# DataSEO API

Base URL: https://dataseo.dev/api/v3

Remote MCP: https://dataseo.dev/api/mcp (Streamable HTTP with the same Bearer key). Tools: dataseo_account, dataseo_analyze_page, dataseo_search_apps. Local bridge and CLI: download https://dataseo.dev/agent-onboarding/cli.mjs as dataseo-agent.mjs; requires Node.js 22+. Commands: check, analyze URL, apps KEYWORD, mcp. Keys are provisioned automatically after account verification.

Use the DATASEO_API_KEY environment variable as an Authorization: Bearer header. Existing DATASEO_API_LOGIN and DATASEO_API_PASSWORD also work with HTTP Basic authentication. Keys come from the verified customer's DataSEO dashboard. Do not create credentials, buy credit, rotate keys, change account settings, or share credentials without the customer's instruction. Never include secrets in URLs, generated browser code, logs, source control, prompts to other services, or output. Do not send DataSEO credentials to another host. If the environment variable is missing, ask the customer to set it.

## Connection check

GET /appendix/user_data. This is free. Do this before integrating another tool. Inspect HTTP status and each task's status_code; 20000 indicates success.

## Live tools

POST /on_page/instant_pages

JSON body: [{"url":"https://example.com","load_resources":false,"enable_javascript":false,"enable_xhr":false,"enable_browser_rendering":false}]

Analyzes public HTML, metadata, headings, links and technical checks. No JavaScript rendering, browser interaction, external resource loading, private-network URLs or browser performance measurements. HTML size is limited to 2 MB.

POST /app_data/apple/app_listings/search/live

JSON body: [{"keyword":"productivity","location_code":2840,"language_code":"en","limit":10,"offset":0}]

Live Apple keyword search. Limit 1–50; offset 0–100. No filters, whole-store export, historical corpus, or scraped reviews. The service enforces Apple's rate spacing.

Page analysis costs $0.001 per successful request. App Store search costs $0.01 per successful request. Both deduct from prepaid USD API credit; failed requests and the account check are free. Stop on HTTP 402 and ask the customer to add credit. Do not buy credit automatically. Minimum credit purchase: $5 of API usage value. The purchase total is displayed separately before Stripe checkout and can exceed credit value to cover operating and processing costs. No subscription. Automatic recharge requires the customer to authorize a balance threshold, exact charge, and monthly spending cap in Payments; agents must never enable it or buy credit on their own. Other catalog paths are not connected: do not claim they work or make provider requests outside this contract.

## Limits and errors

Use a JSON array containing exactly one task, at most 4 KB. Run at most two requests concurrently per account. HTTP 429 means slow down; obey Retry-After and avoid retry storms. HTTP 401 means credentials are invalid. HTTP 403 may indicate an account IP restriction. Never fabricate data after a failure. Report the observed failure and its task status. Retain only the data the customer asked for; the dashboard stores request metadata, not provider response bodies.

## Example (server-side Node.js)

```js
const key = process.env.DATASEO_API_KEY;
if (!key) throw new Error('Set DATASEO_API_KEY in the server environment');
const response = await fetch('https://dataseo.dev/api/v3/appendix/user_data', {
  headers: { Authorization: `Bearer ${key}`, 'User-Agent': 'DataSEO-Agent/1.0' }
});
const result = await response.json();
if (!response.ok || result.status_code !== 20000) throw new Error(result.status_message || 'Connection failed');
```

Full API contracts: https://dataseo.dev/dashboard/docs
