GET
/
api
/
v1
/
extract
curl --request GET \
  --url https://api.agenttoolkit.ai/api/v1/extract
{
  "results": [
    {
      "url": "<string>",
      "raw_content": "<string>",
      "images": [
        "<string>"
      ],
      "links": [
        "<string>"
      ],
      "cache_hit": false
    }
  ],
  "failed_results": [
    {
      "url": "<string>",
      "error": "<string>"
    }
  ],
  "response_time": 123
}

Query Parameters

url
string
required

URL to extract content from

include_images
boolean
default:false

Include images in the response

Include internal links found on the page in the response

extract_depth
string
default:basic

Depth of extraction ('basic' or 'advanced')

Response

200
application/json
Successful Response

Schema for extract response.

response_time
number
required

Time in seconds it took to complete the request.

results
object[]

List of successful extractions.

Schema for a successful extraction result.

failed_results
object[]

List of failed extractions.

Schema for a failed extraction result.