# DataForSEO OnPage Content Parsing API

> Parses and returns structured on-page content directly from a specified webpage URL. Inspect page elements, headings, text blocks, and page layout details for SEO analysis.

Source: https://www.sandbase.ai/apis/dataforseo/v3/on_page/content_parsing/live
API reference: https://www.sandbase.ai/apis/dataforseo/v3/on_page/content_parsing/live/docs

## Facts

- Provider: DataForSEO
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/content_parsing/live`
- Price: $0.002 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: onpage, content, parsing
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/content_parsing/live` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

## FAQ

### How do I use the DataForSEO OnPage Content Parsing API?

Send a POST request to https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/content_parsing/live with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the DataForSEO OnPage Content Parsing API cost?

$0.002 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the DataForSEO OnPage Content Parsing API accept?

DataForSEO OnPage Content Parsing takes no input parameters; send an empty JSON body.

### What does the DataForSEO OnPage Content Parsing API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a DataForSEO developer account or API key?

No. DataForSEO OnPage Content Parsing runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for DataForSEO API access separately.

## README

### DataForSEO OnPage Content Parsing API

Parses structured content elements directly from a target webpage. Useful for auditing on-page text, headings, and structure.

#### Use cases

- Analyze on-page text and heading structures for SEO audits.
- Extract raw page content elements for natural language processing.
- Inspect content layout and metadata directly from target URLs.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/on_page/content_parsing/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.python.org/"}'
```

#### Parameters

The JSON body is forwarded to the upstream endpoint (one task per call). Fields used above:

| Name | Description |
|---|---|
| `url` | Page URL. |

#### Pricing

Flat price per call. Failed calls are not charged.

#### Related APIs

- [DataForSEO Backlinks Anchors](/model/dataforseo/v3/backlinks/anchors/live): Returns anchor text distribution metrics for backlinks pointing to a target website or page.
- [DataForSEO Backlinks List](/model/dataforseo/v3/backlinks/backlinks/live): Returns a list of external backlinks pointing to a specified target domain or webpage.
- [DataForSEO Backlinks Bulk Ranks](/model/dataforseo/v3/backlinks/bulk_ranks/live): Returns rank metrics for multiple domains or pages in bulk.
