URL → Structured Data API for AI agents — UnifAPI
UnifAPI’s URL → Structured API turns any URL into a typed JSON object matching a schema you supply — an LLM-extraction call wrapped as one endpoint.
- Live page: unifapi.com/apis/url-to-data
- MCP tool:
scrape.structuredvia the hosted MCP server - Pricing: pay-per-call
Endpoint
curl https://api.unifapi.com/v1/scrape/structured \
-H "Authorization: Bearer $UNIFAPI_KEY" \
-d '{
"url": "https://example.com/pricing",
"schema": {
"type": "object",
"properties": {
"plans": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {"type": "string"},
"price_usd_monthly": {"type": "number"},
"features": {"type": "array", "items": {"type": "string"}}
}
}
}
}
}
}'
Returns JSON matching the schema, ready to drop into a database or another agent step.
What it’s for
- Competitive intelligence — extract pricing tables, feature matrices
- Lead enrichment — pull company facts from a homepage / about page
- Market research — turn research sources into structured rows
- Any agent step that needs reliable JSON, not free-form text