AgentQL · Capability

AgentQL API — Query Data

AgentQL API — Query Data. 1 operations. Lead operation: AgentQL Query Web Page Data. Self-contained Naftiko capability covering one Agentql business surface.

Run with Naftiko AgentqlQuery Data

What You Can Do

POST
Querywebpagedata — AgentQL Query Web Page Data
/v1/query-data

MCP Tools

agentql-query-web-page-data

AgentQL Query Web Page Data

read-only

Capability Spec

agentql-query-data.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AgentQL API — Query Data
  description: 'AgentQL API — Query Data. 1 operations. Lead operation: AgentQL Query Web Page Data. Self-contained Naftiko
    capability covering one Agentql business surface.'
  tags:
  - Agentql
  - Query Data
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AGENTQL_API_KEY: AGENTQL_API_KEY
capability:
  consumes:
  - type: http
    namespace: agentql-query-data
    baseUri: https://api.agentql.com/v1
    description: AgentQL API — Query Data business capability. Self-contained, no shared references.
    resources:
    - name: query-data
      path: /query-data
      operations:
      - name: querywebpagedata
        method: POST
        description: AgentQL Query Web Page Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.AGENTQL_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: agentql-query-data-rest
    port: 8080
    description: REST adapter for AgentQL API — Query Data. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/query-data
      name: query-data
      description: REST surface for query-data.
      operations:
      - method: POST
        name: querywebpagedata
        description: AgentQL Query Web Page Data
        call: agentql-query-data.querywebpagedata
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: agentql-query-data-mcp
    port: 9090
    transport: http
    description: MCP adapter for AgentQL API — Query Data. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: agentql-query-web-page-data
      description: AgentQL Query Web Page Data
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: agentql-query-data.querywebpagedata
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.