SpecStream Reconciliation API

The Reconciliation API from SpecStream — 6 operation(s) for reconciliation.

GitHub OpenAPI

Operations 6

GET /v1/reconciliation/collections/{collection_id}/fields Read the fields of a list you can open that can be used to match it against… #
GET /v1/reconciliation/collections/{collection_id}/comparisons List the recent comparisons that include this list (the latest 20, kept for 30… #
POST /v1/reconciliation/comparisons Compare two of your lists with exact or close-spelling rules and conflict… #
GET /v1/reconciliation/comparisons/{comparison_id} Read a comparison: proposed pairs, alternatives, conflicts, missing values and… #
POST /v1/reconciliation/comparisons/{comparison_id}/apply Fill empty cells in a new list from the pairs you chose. #
GET /v1/reconciliation/imports/{import_id} Read which chosen pair filled each cell of a list made by matching #

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/specstream-ai:specstream-ai-reconciliation-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

specstream-ai-reconciliation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SpecStream Reconciliation API
  version: finder.cross-source.v1
  description: 'The live web data engine. One platform to build, search, extract, enrich, map, and monitor data across the entire web. Three products. Search API (GET /v1/web-search) answers a question from the live web in seconds, each value with its source, at $5 per 1,000 searches of up to 10 results, and $1 per 1,000 on the fast tier (speed=fast). It is the most accurate web search API in the world: https://specstream.ai/benchmarks. Extract API (POST /v1/extract) reads up to 20 URLs a call and returns the main text of each page, at $0.80 per 1,000 pages. A page with no text is free. Deep Search returns every match on the live web as structured rows, each value with its source, at 5 cents, 15 cents or $1 a row. Get a quote first. Nothing runs until you approve the quote, and you pay for each result delivered. Saved requests and lists are the same in the workspace, this API and agent tools.'
  contact:
    name: SpecStream support
    email: support@specstream.ai
  x-guidance: 'SpecStream has three products. Search API: for a fact or a question, GET /v1/web-search?q=<the question in everyday words> with Authorization: Bearer <API key>. In seconds you get the answer, the rows and the page each value came from, at $5 per 1,000 searches of up to 10 results ($1 per 1,000 with speed=fast for the results alone), with no quote and no approval. It is the most accurate web search API in the world: https://specstream.ai/benchmarks. Extract API: to read pages, POST /v1/extract with {"urls": ["<url>"], "format": "markdown"} and the same key. It reads up to 20 URLs a call live and returns each page''s main text, title and published date, at $0.80 per 1,000 pages. A page with no text is free. Deep Search: when your person needs many rows, conditions every row must meet, a source on each value, or data that has to stay up to date. With a key, POST /v1/parse with {"q": "<the request in plain words>"}, then POST /v1/capacity/quotes, then POST /v1/capacity/executions with the quoted maximum in confirm_max_cents; nothing runs before that approval. With no account, POST /v1/agent/lists with {"request": "<the request in plain words>", "count": 25}; count is optional, 1 to 500. Unpaid, it answers 402 Payment Required with how SpecStream read the request and the most the run can cost. Pay that with MPP (a card through Stripe Link, WWW-Authenticate header) or with USDC on Base, Arbitrum or Polygon over x402 (PAYMENT-REQUIRED header, scheme upto), then send the same request again with the payment. You get 202 with a purchase_id, a token and a status_url. Read GET status_url with Authorization: Bearer <token>; the rows, each with its source, are there when the run ends. You pay for each result delivered: 5 cents, 15 cents or $1 each depending on what it needs. A result that is left out costs nothing. The smallest card charge is $1. Whatever the run did not use is never taken or goes back to the card. GET /v1/agent/lists returns these steps as JSON. An API key comes from the workspace at https://specstream.ai. Details: https://specstream.ai/agents.md'
servers:
- url: https://api.specstream.ai
tags:
- name: Reconciliation
paths:
  /v1/reconciliation/collections/{collection_id}/fields:
    get:
      operationId: getReconciliationFields
      summary: Read the fields of a list you can open that can be used to match it against…
      responses:
        '200':
          description: Read the fields of a list you can open that can be used to match it against another list
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/ReconciliationFields'
        default:
          description: Error envelope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
      security:
      - apiKey: []
      tags:
      - Reconciliation
  /v1/reconciliation/collections/{collection_id}/comparisons:
    get:
      operationId: listReconciliations
      summary: List the recent comparisons that include this list (the latest 20, kept for 30…
      responses:
        '200':
          description: List the recent comparisons that include this list (the latest 20, kept for 30 days)
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/ReconciliationHistory'
        default:
          description: Error envelope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      parameters:
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
      security:
      - apiKey: []
      tags:
      - Reconciliation
  /v1/reconciliation/comparisons:
    post:
      operationId: prepareReconciliation
      summary: Compare two of your lists with exact or close-spelling rules and conflict…
      responses:
        '201':
          description: Compare two of your lists with exact or close-spelling rules and conflict checks, and propose which rows correspond
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/ReconciliationView'
        default:
          description: Error envelope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReconciliationPrepare'
      security:
      - apiKey: []
      tags:
      - Reconciliation
  /v1/reconciliation/comparisons/{comparison_id}:
    get:
      operationId: getReconciliation
      summary: 'Read a comparison: proposed pairs, alternatives, conflicts, missing values and…'
      responses:
        '200':
          description: 'Read a comparison: proposed pairs, alternatives, conflicts, missing values and sources'
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/ReconciliationView'
        default:
          description: Error envelope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      parameters:
      - name: comparison_id
        in: path
        required: true
        schema:
          type: string
      security:
      - apiKey: []
      tags:
      - Reconciliation
  /v1/reconciliation/comparisons/{comparison_id}/apply:
    post:
      operationId: applyReconciliation
      summary: Fill empty cells in a new list from the pairs you chose.
      responses:
        '201':
          description: Fill empty cells in a new list from the pairs you chose. The original lists stay unchanged
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/WorkspaceImportData'
        default:
          description: Error envelope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReconciliationApply'
      parameters:
      - name: comparison_id
        in: path
        required: true
        schema:
          type: string
      security:
      - apiKey: []
      tags:
      - Reconciliation
  /v1/reconciliation/imports/{import_id}:
    get:
      operationId: getReconciledInput
      summary: Read which chosen pair filled each cell of a list made by matching
      responses:
        '200':
          description: Read which chosen pair filled each cell of a list made by matching
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/ReconciliationReceipt'
        default:
          description: Error envelope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      parameters:
      - name: import_id
        in: path
        required: true
        schema:
          type: string
      security:
      - apiKey: []
      tags:
      - Reconciliation
components:
  schemas:
    ReconciliationContradiction:
      additionalProperties: false
      properties:
        left_field:
          title: Left Field
          type: string
        right_field:
          title: Right Field
          type: string
        left_value:
          title: Left Value
        right_value:
          title: Right Value
      required:
      - left_field
      - right_field
      - left_value
      - right_value
      title: ReconciliationContradiction
      type: object
    ReconciliationBlocked:
      additionalProperties: false
      properties:
        right_record_id:
          title: Right Record Id
          type: string
        right_name:
          title: Right Name
          type: string
        contradictions:
          items:
            $ref: '#/components/schemas/ReconciliationContradiction'
          title: Contradictions
          type: array
      required:
      - right_record_id
      - right_name
      - contradictions
      title: ReconciliationBlocked
      type: object
    ReconciliationCandidate:
      additionalProperties: false
      properties:
        right_record_id:
          title: Right Record Id
          type: string
        right_name:
          title: Right Name
          type: string
        score_bps:
          title: Score Bps
          type: integer
        groups:
          items:
            $ref: '#/components/schemas/ReconciliationEvidenceGroup'
          title: Groups
          type: array
        right_values:
          additionalProperties: true
          title: Right Values
          type: object
        references:
          additionalProperties:
            items:
              additionalProperties: true
              type: object
            type: array
          title: References
          type: object
        unknown_guards:
          items:
            $ref: '#/components/schemas/ReconciliationGuard'
          title: Unknown Guards
          type: array
        reference_candidate_for:
          title: Reference Candidate For
          type: integer
      required:
      - right_record_id
      - right_name
      - score_bps
      - groups
      - right_values
      - references
      - unknown_guards
      - reference_candidate_for
      title: ReconciliationCandidate
      type: object
    ReconciliationRow:
      additionalProperties: false
      properties:
        left_record_id:
          title: Left Record Id
          type: string
        name:
          title: Name
          type: string
        left_values:
          additionalProperties: true
          title: Left Values
          type: object
        references:
          additionalProperties:
            items:
              additionalProperties: true
              type: object
            type: array
          title: References
          type: object
        status:
          enum:
          - one_candidate
          - ambiguous
          - needs_fields
          - no_candidate
          title: Status
          type: string
        candidates:
          items:
            $ref: '#/components/schemas/ReconciliationCandidate'
          title: Candidates
          type: array
        incomplete_groups:
          items:
            $ref: '#/components/schemas/ReconciliationIncomplete'
          title: Incomplete Groups
          type: array
        blocked_candidates:
          items:
            $ref: '#/components/schemas/ReconciliationBlocked'
          title: Blocked Candidates
          type: array
        candidate_count:
          title: Candidate Count
          type: integer
      required:
      - left_record_id
      - name
      - left_values
      - references
      - status
      - candidates
      - incomplete_groups
      - blocked_candidates
      - candidate_count
      title: ReconciliationRow
      type: object
    ErrorCode:
      enum:
      - unsupported_query
      - unsupported_predicate
      - unsupported_entity_family
      - ambiguous_geo
      - capability_pending
      - source_blocked
      - challenge_page
      - unquoted_plan
      - missing_api_key
      - owner_only
      - compiler_unavailable
      - parse_failed
      - payments_not_live
      - card_required
      - terms_changed
      - tax_id_refused
      - capacity
      - kill_switch
      - internal_failure
      - plan_required
      - invalid_token
      - insufficient_balance
      - not_found
      - bad_request
      - payment_required
      - in_progress
      - unavailable
      - rate_limited
      - idempotency_conflict
      - concurrency_limit
      - session_ended
      - already_connected
      - unknown_field
      title: ErrorCode
      type: string
    ReconciliationField:
      additionalProperties: false
      properties:
        field:
          title: Field
          type: string
        present:
          title: Present
          type: integer
        comparable:
          title: Comparable
          type: integer
        examples:
          items: {}
          title: Examples
          type: array
      required:
      - field
      - present
      - comparable
      - examples
      title: ReconciliationField
      type: object
    ReconciliationGroup:
      additionalProperties: false
      properties:
        rules:
          items:
            $ref: '#/components/schemas/ReconciliationRule'
          maxItems: 6
          minItems: 1
          title: Rules
          type: array
      required:
      - rules
      title: ReconciliationGroup
      type: object
    ErrorEnvelope:
      additionalProperties: false
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      required:
      - error
      title: ErrorEnvelope
      type: object
    ReconciliationHistory:
      additionalProperties: false
      properties:
        comparisons:
          items:
            additionalProperties: true
            type: object
          title: Comparisons
          type: array
      required:
      - comparisons
      title: ReconciliationHistory
      type: object
    ReconciliationGuard:
      additionalProperties: false
      properties:
        left_field:
          title: Left Field
          type: string
        right_field:
          title: Right Field
          type: string
      required:
      - left_field
      - right_field
      title: ReconciliationGuard
      type: object
    ReconciliationFields:
      additionalProperties: false
      properties:
        collection_id:
          title: Collection Id
          type: string
        name:
          title: Name
          type: string
        records:
          title: Records
          type: integer
        fields:
          items:
            $ref: '#/components/schemas/ReconciliationField'
          title: Fields
          type: array
      required:
      - collection_id
      - name
      - records
      - fields
      title: ReconciliationFields
      type: object
    ImportRejectedRow:
      additionalProperties: false
      description: A supplied row left out of an import; the other rows still load.
      properties:
        row_number:
          title: Row Number
          type: integer
        reason:
          title: Reason
          type: string
        id:
          anyOf:
          - type: string
          - type: 'null'
          default: null
          title: Id
      required:
      - row_number
      - reason
      title: ImportRejectedRow
      type: object
    ErrorBody:
      additionalProperties: false
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          minLength: 1
          title: Message
          type: string
        details:
          additionalProperties: true
          title: Details
          type: object
      required:
      - code
      - message
      title: ErrorBody
      type: object
    ReconciliationPrepare:
      additionalProperties: false
      properties:
        request_id:
          maxLength: 128
          minLength: 8
          title: Request Id
          type: string
        name:
          maxLength: 120
          minLength: 1
          title: Name
          type: string
        project_id:
          anyOf:
          - maxLength: 128
            type: string
          - type: 'null'
          default: null
          title: Project Id
        left:
          $ref: '#/components/schemas/ReconciliationScope'
        right:
          $ref: '#/components/schemas/ReconciliationScope'
        groups:
          items:
            $ref: '#/components/schemas/ReconciliationGroup'
          maxItems: 4
          minItems: 1
          title: Groups
          type: array
        vetoes:
          default: []
          items:
            $ref: '#/components/schemas/ReconciliationVeto'
          maxItems: 6
          title: Vetoes
          type: array
        fill:
          items:
            $ref: '#/components/schemas/ReconciliationFill'
          maxItems: 12
          minItems: 1
          title: Fill
          type: array
        assignment:
          default: one_to_one
          enum:
          - one_to_one
          - many_to_one
          title: Assignment
          type: string
        include_private_fields:
          default: false
          title: Include Private Fields
          type: boolean
      required:
      - request_id
      - name
      - left
      - right
      - groups
      - fill
      title: ReconciliationPrepare
      type: object
    ReconciliationIncomplete:
      additionalProperties: false
      properties:
        group:
          title: Group
          type: integer
        fields:
          items:
            type: string
          title: Fields
          type: array
      required:
      - group
      - fields
      title: ReconciliationIncomplete
      type: object
    ReconciliationScope:
      additionalProperties: false
      properties:
        collection_id:
          maxLength: 128
          minLength: 1
          title: Collection Id
          type: string
        record_ids:
          anyOf:
          - items:
              type: string
            maxItems: 5000
            minItems: 1
            type: array
          - type: 'null'
          default: null
          title: Record Ids
      required:
      - collection_id
      title: ReconciliationScope
      type: object
    ReconciliationView:
      additionalProperties: false
      properties:
        comparison_id:
          title: Comparison Id
          type: string
        comparison_hash:
          title: Comparison Hash
          type: string
        name:
          title: Name
          type: string
        project_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Project Id
        request:
          $ref: '#/components/schemas/ReconciliationPrepare'
        created_at:
          title: Created At
          type: string
        scopes:
          additionalProperties: true
          title: Scopes
          type: object
        summary:
          additionalProperties:
            type: integer
          title: Summary
          type: object
        metrics:
          additionalProperties:
            type: integer
          title: Metrics
          type: object
        rows:
          items:
            $ref: '#/components/schemas/ReconciliationRow'
          title: Rows
          type: array
        qualification_authority:
          const: false
          default: false
          title: Qualification Authority
          type: boolean
        metric:
          const: normalized_levenshtein_v1
          default: normalized_levenshtein_v1
          title: Metric
          type: string
      required:
      - comparison_id
      - comparison_hash
      - name
      - project_id
      - request
      - created_at
      - scopes
      - summary
      - metrics
      - rows
      title: ReconciliationView
      type: object
    ReconciliationVeto:
      additionalProperties: false
      properties:
        left_field:
          maxLength: 160
          minLength: 1
          title: Left Field
          type: string
        right_field:
          maxLength: 160
          minLength: 1
          title: Right Field
          type: string
        normalization:
          default: nfkc_casefold_space
          enum:
          - literal
          - nfkc_casefold_space
          title: Normalization
          type: string
      required:
      - left_field
      - right_field
      title: ReconciliationVeto
      type: object
    ReconciliationFill:
      additionalProperties: false
      properties:
        right_field:
          maxLength: 160
          minLength: 1
          title: Right Field
          type: string
        output_field:
          maxLength: 120
          minLength: 1
          title: Output Field
          type: string
      required:
      - right_field
      - output_field
      title: ReconciliationFill
      type: object
    ReconciliationAgreement:
      additionalProperties: false
      properties:
        left_field:
          title: Left Field
          type: string
        right_field:
          title: Right Field
          type: string
        mode:
          enum:
          - exact
          - edit
          title: Mode
          type: string
        normalization:
          enum:
          - literal
          - nfkc_casefold_space
          title: Normalization
          type: string
        minimum_bps:
          title: Minimum Bps
          type: integer
        score_bps:
          title: Score Bps
          type: integer
        edits:
          title: Edits
          type: integer
      required:
      - left_field
      - right_field
      - mode
      - normalization
      - minimum_bps
      - score_bps
      - edits
      title: ReconciliationAgreement
      type: object
    ReconciliationApply:
      additionalProperties: false
      properties:
        comparison_hash:
          pattern: ^[0-9a-f]{64}$
          title: Comparison Hash
          type: string
        import_id:
          maxLength: 128
          minLength: 8
          pattern: ^[A-Za-z0-9_-]+$
          title: Import Id
          type: string
        name:
          maxLength: 120
          minLength: 1
          title: Name
          type: string
        choices:
          items:
            $ref: '#/components/schemas/ReconciliationChoice'
          maxItems: 5000
          minItems: 1
          title: Choices
          type: array
      required:
      - comparison_hash
      - import_id
      - name
      - choices
      title: ReconciliationApply
      type: object
    WorkspaceImportData:
      additionalProperties: false
      properties:
        id:
          title: Id
          type: string
        account_id:
          title: Account Id
          type: string
        project_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Project Id
        name:
          title: Name
          type: string
        rows:
          items:
            additionalProperties: true
            type: object
          title: Rows
          type: array
        created_at:
          title: Created At
          type: string
        imported:
          const: true
          title: Imported
          type: boolean
        total_rows:
          title: Total Rows
          type: integer
        imported_count:
          title: Imported Count
          type: integer
        rejected_rows:
          items:
            $ref: '#/components/schemas/ImportRejectedRow'
          title: Rejected Rows
          type: array
        max_rows:
          title: Max Rows
          type: integer
        metadata:
          additionalProperties: true
          title: Metadata
          type: object
      required:
      - id
      - account_id
      - project_id
      - name
      - rows
      - created_at
      - imported
      - total_rows
      - imported_count
      - rejected_rows
      - max_rows
      - metadata
      title: WorkspaceImportData
      type: object
    ReconciliationEvidenceGroup:
      additionalProperties: false
      properties:
        group:
          title: Group
          type: integer
        comparisons:
          items:
            $ref: '#/components/schemas/ReconciliationAgreement'
          title: Comparisons
          type: array
      required:
      - group
      - comparisons
      title: ReconciliationEvidenceGroup
      type: object
    ReconciliationReceipt:
      additionalProperties: false
      properties:
        import_id:
          title: Import Id
          type: string
        name:
          title: Name
          type: string
        comparison_id:
          title: Comparison Id
          type: string
        rows:
          items:
            additionalProperties: true
            type: object
          title: Rows
          type: array
        qualification_authority:
          const: false
          default: false
          title: Qualification Authority
          type: boolean
      required:
      - import_id
      - name
      - comparison_id
      - rows
      title: ReconciliationReceipt
      type: object
    ReconciliationChoice:
      additionalProperties: false
      properties:
        left_record_id:
          maxLength: 128
          minLength: 1
          title: Left Record Id
          type: string
        right_record_id:
          maxLength: 128
          minLength: 1
          title: Right Record Id
          type: string
      required:
      - left_record_id
      - right_record_id
      title: ReconciliationChoice
      type: object
    ReconciliationRule:
      additionalProperties: false
      properties:
        left_field:
          maxLength: 160
          minLength: 1
          title: Left Field
          type: string
        right_field:
          maxLength: 160
          minLength: 1
          title: Right Field
          type: string
        mode:
          default: edit
          enum:
          - exact
          - edit
          title: Mode
          type: string
        threshold_bps:
          default: 8500
          maximum: 10000
          minimum: 5000
          title: Threshold Bps
          type: integer
        normalization:
          default: nfkc_casefold_space
          enum:
          - literal
          - nfkc_casefold_space
          title: Normalization
          type: string
      required:
      - left_field
      - right_field
      title: ReconciliationRule
      type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: Send Bearer <your SpecStream API key>. Create one in the workspace under Agents and API keys.
    purchaseToken:
      type: apiKey
      in: header
      name: Authorization
      description: Send Bearer <token>, the token returned with the 202. It reads only that purchase.