Skip to main content
POST
Extract Structured Web Data

Request contract

  • Method and path: POST /apis/v1/context-dev/extract-structured-web-data
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/context-dev/extract-structured-web-data
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0103 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
output_schema
object
required

JSON Schema describing the object to extract. Add descriptions to non-obvious properties so the extractor can interpret them correctly.

Example:
url
string<uri>
required

Starting HTTP or HTTPS website URL to crawl.

Minimum string length: 1
Example:

"https://example.com"

fact_check
boolean
default:false

Require every returned value to be grounded in page content. Unsupported fields are returned as null or empty instead of inferred.

follow_subdomains
boolean
default:false

Follow links on subdomains of the starting domain.

instructions
string

Optional extraction guidance or field interpretation, up to 2000 characters.

Maximum string length: 2000
max_depth
integer

Maximum link depth from the starting URL. Use 0 to analyze only the starting page; omit for no crawl-depth limit.

Required range: x >= 0
max_pages
integer
default:5

Maximum pages to analyze (1-50). Higher values increase the price.

Required range: 1 <= x <= 50
stop_after_ms
integer
default:80000

Soft crawl time budget in milliseconds (10000-110000).

Required range: 10000 <= x <= 110000
tags
string[]

Usage-tracking tags. Provide at most 20 tags of 1-50 characters each.

Maximum array length: 20
Required string length: 1 - 50

Response

Tool result data

data
object
required
metadata
object
required
url
string
required
key_metadata
object
urls_analyzed
string[]