Extract data from webpage

This endpoint extracts structured data from any webpage content using AI.

Endpoint

POST /api/v1/extract-data-from-webpage

Parameters

Parameter Type Required Description
url string Yes The webpage URL 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": {
        "url": "https://example.com/article",
        "title": "Article Title",
        "data": {
            "price": "499.99",
            "location": "San Francisco",
            "date": "2024-03-15"
        },
        "explanation": "Detailed explanation of how each field was identified..."
    }
}

Example

curl https://nobinge.com/api/v1/extract-data-from-webpage \
    -X POST \
    -H "Authorization: Bearer your_token_here" \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -d '{
    "url": "https://example.com/article",
    "columns": ["price", "location", "date"]
}'
© Nobinge 2024. All rights reserved.