DatosIA API

DatosIA API as documented publicly: 4 operations. Contract generated from the documentation by API Evangelist (2026-11-05); not the provider's own document.

Operations 4

GET /api/v1/agent/signup Your agent can create its own key #
POST /api/v1/agent/signup POST /api/v1/agent/signup #
GET /api/v1/ask REST GET https://datosia.net/api/v1/ask?q=… #
POST /api/v1/query Used by the query_data MCP tool and POST /api/v1/query . Machine‑readable schema: /schema/query.json . #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/datosia-net:datosia-net-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

datosia-net-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: DatosIA API
  version: '2026-11-05'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-05: 4 operation(s) read from 9 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; DatosIA has published no machine-readable contract that the pipeline
    could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 3
    pages-with-code: 8
    pages-read: 9
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-05'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://datosia.net/docs/query
  - https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20Guatemala%20con%20fuentes%20p%C3%BAblicas
  - https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20El%20Salvador%20con%20fuentes%20p%C3%BAblicas
  - https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20Honduras%20con%20fuentes%20p%C3%BAblicas
  - https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20Nicaragua%20con%20fuentes%20p%C3%BAblicas
  - https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20Costa%20Rica%20con%20fuentes%20p%C3%BAblicas
  - https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20Panam%C3%A1%20con%20fuentes%20p%C3%BAblicas
  - https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20Belice%20con%20fuentes%20p%C3%BAblicas
  - https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20Rep%C3%BAblica%20Dominicana%20con%20fuentes%20p%C3%BAblicas
paths:
  /api/v1/agent/signup:
    get:
      operationId: get_api_v1_agent_signup
      tags:
      - Api
      summary: Your agent can create its own key
      description: Create an API key for an agent by providing an email.
      x-source: https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20El%20Salvador%20con%20fuentes%20p%C3%BAblicas
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_agent_signup
      tags:
      - Api
      summary: POST /api/v1/agent/signup
      x-source: https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20Guatemala%20con%20fuentes%20p%C3%BAblicas
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AgentSignupRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -s https://datosia.net/api/v1/agent/signup  -H 'content-type: application/json'  -d '{\"email\":\"tu@correo.com\"}' \n\
          \ REST GET https://datosia.net/api/v1/ask?q=… Query format · Datos · llms.txt · Claves API \n ¿Tienes datos? Haz que trabajen para ti\
          \ Have data? Put it to work \n Encuestas, precios, inventarios, análisis propios o cruces hechos sobre nuestros datos: publícalos en\
          \ el mercado y los age"
  /api/v1/ask:
    get:
      operationId: get_api_v1_ask
      tags:
      - Api
      summary: REST GET https://datosia.net/api/v1/ask?q=…
      description: Query format for asking a question.
      x-source: https://datosia.net/?q=Cu%C3%A9ntame%20sobre%20Guatemala%20con%20fuentes%20p%C3%BAblicas
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/query:
    post:
      operationId: post_api_v1_query
      tags:
      - Api
      summary: 'Used by the query_data MCP tool and POST /api/v1/query . Machine‑readable schema: /schema/query.json .'
      x-source: https://datosia.net/docs/query
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1QueryRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1QueryResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiV1AgentSignupRequest:
      type: object
      properties:
        email:
          type: string
    PostApiV1QueryRequest:
      type: object
      properties:
        indicators:
          type: array
          description: 1–10 indicator ids from find_indicators , e.g. FIN.BRANCHES_PER_100K_ADULTS.
        geo.in:
          type: array
          description: Countries, groups or department/municipality codes from resolve_place or list_places.
        geo.rollup:
          type: boolean
          description: 'true: each group becomes one regional value; false (default): groups expand to their countries.'
        geo.drill:
          type: string
          description: 'department, municipality or district: expand each place to its units at that level.'
        time:
          type: object
          description: '{from, to} in years, or {last: N} for the N most recent periods with data. Omit for the latest.'
        by:
          type: array
          description: Matrix axes, outermost first (indicator, geo, time). Defaults to every dimension with more than one value.
        format:
          type: array
          description: '["rows","matrix"] by default; add "geojson" for boundaries with values.'
      required:
      - indicators
    PostApiV1QueryResponse:
      type: object
      properties:
        query:
          type: object
          description: The resolved query, including the periods used.
        places:
          type: object
          description: Mapping of place codes to metadata (name, level, lat, lon).
        indicators:
          type: array
          description: Indicator metadata (id, unit, rollup, weighted_by).
        dimensions:
          type: array
          description: Dimension definitions with id and values.
        rows:
          type: array
          description: Flat list of results (indicator, geo, time, value, source).
        matrix:
          type: object
          description: Nested matrix of values keyed by place and time.
        gaps:
          type: array
          description: Values a source never published, with reason.
        map_layers:
          type: array
          description: URLs to GeoJSON shape files.
        sources:
          type: array
          description: Source information (id, publisher, license, retrieved).
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      x-source: https://datosia.net/account
    Authorization:
      type: http
      scheme: bearer
      x-source: https://datosia.net/account
tags:
- name: Api
security:
- x-api-key: []
- Authorization: []