DeepInquiry Verified Facts API (Machine Accountability Corp) Search API

Semantic search across the corpus.

Operations 1

GET /v1/search Semantic search across the corpus #

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/deepinquiry:deepinquiry-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

deepinquiry-search-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DeepInquiry Verified Facts Search API
  version: 1.0.0
  description: DeepInquiry publishes short factual claims that have been checked for how many separate source groups support them.
  contact:
    name: DeepInquiry API
    email: api@deepinquiry.ai
    url: https://www.deepinquiry.ai/docs
  license:
    name: DeepInquiry Terms of Service
    url: https://www.deepinquiry.ai/terms
servers:
- url: https://api.deepinquiry.ai/api
  description: DeepInquiry API
security:
- ApiKeyAuth: []
tags:
- name: Search
  description: Semantic search across the corpus.
paths:
  /v1/search:
    get:
      tags:
      - Search
      summary: Semantic search across the corpus
      description: 'Finds the facts whose meaning is closest to the query and

        returns up to 25 of them, each with a `similarity` score (0.0-1.0,

        higher = closer).'
      operationId: searchFacts
      parameters:
      - name: q
        in: query
        description: Search query. Max 500 characters.
        required: true
        schema:
          type: string
          maxLength: 500
        example: how many hearts does an octopus have
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 25
          default: 10
      - name: category
        in: query
        required: false
        schema:
          type: string
      - name: min_tier
        in: query
        required: false
        schema:
          type: string
          enum:
          - gold
          - silver
          - bronze
          - unverified
      - name: include_unverified
        in: query
        required: false
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Ranked semantic-search results
          headers:
            X-DeepInquiry-Min-Tier:
              $ref: '#/components/headers/MinTierHeader'
            X-Quota-Remaining:
              $ref: '#/components/headers/QuotaRemainingHeader'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResult'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
        '502':
          description: Search is temporarily unavailable — retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Fact:
      type: object
      required:
      - id
      - fact_text
      - category
      properties:
        id:
          type: integer
          example: 1234
        fact_text:
          type: string
          example: An adult octopus has three hearts.
        category:
          type: string
          example: science
        era:
          type:
          - string
          - 'null'
          example: present day
        region:
          type:
          - string
          - 'null'
          example: global
        surprise_score:
          type:
          - number
          - 'null'
          format: float
          minimum: 0
          maximum: 1
        confidence_level:
          type:
          - string
          - 'null'
          example: high
        verification_tier:
          type:
          - string
          - 'null'
          enum:
          - gold
          - silver
          - bronze
          - unverified
        independence_score:
          type:
          - number
          - 'null'
          format: float
          minimum: 0
          maximum: 1
        cluster_count:
          type:
          - integer
          - 'null'
          minimum: 0
        citogenesis_flags:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Non-empty when the verification pipeline detected signs that the supporting sources copied one another.
        claim_tier:
          type:
          - string
          - 'null'
          description: Type/strength of claim (e.g. "definitional", "empirical").
        tags:
          type:
          - array
          - 'null'
          items:
            type: string
        similarity:
          type:
          - number
          - 'null'
          format: float
          minimum: 0
          maximum: 1
          description: Present only on /v1/search responses.
        source_notes:
          type:
          - array
          - 'null'
          items:
            type: string
          description: 'Information only: weaker copies (for example a Wikipedia page or an aggregator) that were set aside because sources of another kind exist.'
    Meta:
      type: object
      properties:
        min_tier:
          type: string
          enum:
          - gold
          - silver
          - bronze
          - unverified
        include_unverified:
          type: boolean
        returned:
          type: integer
        query:
          type: string
          description: Present only on /v1/search responses.
        model:
          type: string
          description: Present only on /v1/search responses.
    FactList:
      type: object
      required:
      - facts
      - meta
      properties:
        facts:
          type: array
          items:
            $ref: '#/components/schemas/Fact'
        meta:
          $ref: '#/components/schemas/Meta'
    SearchResult:
      allOf:
      - $ref: '#/components/schemas/FactList'
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              description: Stable machine-readable error code (e.g. `bad_request`, `unauthorized`, `forbidden`, `not_found`, `rate_limited`, `internal_error`)
              example: bad_request
            message:
              type: string
              description: Human-readable error description
              example: limit must be between 1 and 25
            request_id:
              type: string
              description: Server-assigned request identifier for support triage
              example: req_abc123def456
  responses:
    InternalError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: internal_error
              message: an unexpected error occurred
              request_id: req_abc123def456
    RateLimited:
      description: Caller's plan quota exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: rate_limited
              message: monthly quota exhausted
              request_id: req_abc123def456
    BadRequest:
      description: Request validation failed (missing, malformed, or out-of-range parameters)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: bad_request
              message: limit must be between 1 and 25
              request_id: req_abc123def456
    Forbidden:
      description: Caller not permitted to request that tier or option
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: forbidden
              message: your plan cannot request bronze facts; choose a plan that includes them
              request_id: req_abc123def456
    Unauthorized:
      description: Missing or invalid credential
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: unauthorized
              message: x-api-key header missing or invalid
              request_id: req_abc123def456
  headers:
    MinTierHeader:
      description: Effective minimum verification tier applied to this response.
      schema:
        type: string
        enum:
        - gold
        - silver
        - bronze
        - unverified
    QuotaRemainingHeader:
      description: Remaining requests in the caller's current billing window.
      schema:
        type: integer
        minimum: 0
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key