cURL
curl --request POST \ --url https://dataextractorai.com/api/v1/extract \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "content": "<string>", "schema": { "type": "object", "properties": [ {} ] }, "webhook_url": "<string>", "metadata": {} }'
{ "request_id": "<string>", "credits_consumed": 123, "credits_type": "subscription", "status": "pending", "success": true, "request_data": { "schema": { "type": "<string>", "properties": {} }, "content": "<string>", "webhook_url": "<string>" }, "extracted_data": {}, "created_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z", "processing_time_ms": 2000, "webhook_url": "<string>", "metadata": {} }
Extract data from unstructured source to structured JSON response
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object