# Extract structured content from a URL

Get Web Extract structured content from URL data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by OpenAny, pass parameters such as prompt, url, and retrieve structured data including result collection, returned URL, and returned success field to search interfaces and source review, and integration reference, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/web/web-extract-structured-content-from-a-url/e9ae3368-612b-482d-a5fa-d0321e17cc47/
API ID: e9ae3368-612b-482d-a5fa-d0321e17cc47
Provider: openany
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/openany/extract
Page update time: 2026-12-03T02:53:41.943Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.01 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:53:40.468Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "10000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Web Extract structured content from a URL API

Extract structured content from a URL via API. Provide url in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

## 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 |
| --- | --- |
| `results` | Result collection (nullable in the reference) |
| `extractParameters.url` | Returned URL |
| `success` | Returned success field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Extract structured content from a URL request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": ""
        },
        "prompt": {
          "type": "string",
          "description": ""
        },
        "response_format": {
          "type": "object",
          "description": ""
        }
      },
      "required": [
        "url"
      ]
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "extractParameters": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        }
      }
    },
    "results": {
      "type": "null"
    },
    "success": {
      "type": "boolean"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/openany/extract' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "prompt": "Extract the page title and description.",
  "url": "https://example.com"
}'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "extractParameters": {
    "url": "<url>"
  },
  "results": null,
  "success": true
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs identify this request?
Provide url in body (string). Keep identifiers and URLs in the formats documented for this implementation.

### Which request format should I follow?
Use POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

## Available implementations
- openany: https://openany.si/web/web-extract-structured-content-from-a-url/e9ae3368-612b-482d-a5fa-d0321e17cc47/
- search1api: https://openany.si/web/web-extract-structured-content-from-a-url/8b9e12fd-e414-4986-ac52-7f5694e0724c/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
