AgentQL
Extract structured data from web pages and documents with AI
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- Sign in to dev.agentql.com (the AgentQL developer portal) and open dev.agentql.com/api-keys.
- Create an API key and copy it.
- Each data query uses calls from your plan, and the free plan has a limited quota; the connection test (GET /usage) does not use any.
Tools (1)
AgentQL API request
AGENTQL_SEND_REQUESTAuthenticated call to the AgentQL API (https://api.agentql.com/v1). Any endpoint of the API is allowed. Examples: GET /usage (usage and subscription), POST /query-data {"url": "https://…", "query": "{ products[] { name price } }"}, POST /query-data {"url": "https://…", "prompt": "the products with their price"} (generates the query with AI), POST /tetra/sessions (opens a remote browser), GET /tetra/usage.
Required scopes
No scopes required
Input
AgentQL API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

