Extract data from text
This endpoint extracts structured data from any given text using AI.
Endpoint
POST /api/v1/extract-data-from-text
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
text | string | Yes | The text content to analyze |
columns | array | Yes | Array of field names to extract (e.g., ["price", "location", "date"]) |
Response
A successful response will return a JSON object with the following properties:
{
"data": {
"price": "499.99",
"location": "San Francisco",
"date": "2024-03-15"
}
}
Example
curl https://nobinge.com/api/v1/extract-data-from-text \
-X POST \
-H "Authorization: Bearer your_token_here" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"text": "Your text content goes here...",
"columns": ["price", "location", "date"]
}'