Webcite Search sources API

Find sources for a query, without a stance or verdict.

GitHub OpenAPI

Operations 1

POST /api/v1/sources/search Search for sources #

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/webcite:webcite-search-sources-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

webcite-search-sources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Webcite Search sources API
  version: '1.0'
  description: 'Webcite parses documents and checks claims against sources. The API converts PDFs, scans, images, spreadsheets and office files to Markdown with page and sheet locations, splits them into citation-ready chunks, verifies a claim against web sources with citations, a stance for each source and a verdict, checks that quotes appear in the sources you give, searches for sources, and extracts and cross-checks financial figures. Send your API key in the x-api-key header; create a key at https://webcite.co/api-keys (sign-in required). Documentation: https://webcite.co/api-docs'
  contact:
    name: Webcite support
    url: https://webcite.co/support
    email: support@webcite.co
  termsOfService: https://webcite.co/terms-and-conditions
servers:
- description: Production
  url: https://api.webcite.co
security:
- x-api-key: []
tags:
- name: Search sources
  description: Find sources for a query, without a stance or verdict.
paths:
  /api/v1/sources/search:
    post:
      description: 'Search for authoritative sources related to a query. Returns raw citations without stance analysis or verdict.


        **Credits: 2** (search only)'
      operationId: ApiV1Controller_searchSources
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchSourcesDto'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResponseDto'
          description: Sources found
        '401':
          description: Unauthorized - API key required
        '429':
          description: Rate limit exceeded
      security:
      - x-api-key: []
      - bearer: []
      summary: Search for sources
      tags:
      - Search sources
components:
  schemas:
    RankingFactorsDto:
      properties:
        content_relevance:
          description: How well the content matches the claim being verified (0-100).
          example: 85
          type: number
        recency:
          description: Publication freshness score (0-100). Current year = 100, decreases with age.
          example: 100
          type: number
        source_authority:
          description: Domain reputation score (0-100). Higher scores for government, academic, major news sources.
          example: 90
          type: number
      required:
      - source_authority
      - content_relevance
      - recency
      type: object
    ClaimGroupDto:
      properties:
        citation_count:
          description: Number of citations for this claim
          example: 5
          type: number
        citations:
          description: All citations for this claim (full objects with stance, ranking, etc.)
          items:
            $ref: '#/components/schemas/CitationDto'
          type: array
        claim:
          description: The claim/sub-prompt text
          example: What are the AI trends in healthcare?
          type: string
        claim_id:
          description: Unique identifier for this claim group
          example: claim-1
          type: string
        claim_index:
          description: Index of the claim (1-based)
          example: 1
          type: number
        domain_groups:
          description: Citations grouped by domain (lightweight, for deduplication UI)
          items:
            $ref: '#/components/schemas/DomainGroupDto'
          type: array
        stance_summary:
          description: Overall stance summary based on citations
          enum:
          - supported
          - contradicted
          - mixed
          - unverifiable
          example: supported
          type: string
        verdict:
          allOf:
          - $ref: '#/components/schemas/VerdictDto'
          description: Verdict for this claim (streamed as citations complete)
      required:
      - claim_id
      - claim_index
      - claim
      - stance_summary
      - citation_count
      - citations
      type: object
    VerdictDto:
      properties:
        aggregation_score:
          description: Legacy aggregate score retained for compatibility
          type: number
        calibrated_confidence:
          type:
          - number
          - 'null'
        claim:
          description: The original prompt/claim that was analyzed
          example: User query or claim being verified
          type: string
        confidence:
          description: Legacy aggregation score (0-100); use confidence_available and calibrated_confidence for calibration status
          example: 88
          type: number
        confidence_available:
          description: True only when calibrated confidence is available
          type: boolean
        confidence_basis:
          enum:
          - unknown
          - heuristic
          - calibrated
          type: string
        conflict:
          allOf:
          - $ref: '#/components/schemas/NamedConflictDto'
          description: The quoted, named pair of sources behind a "mixed" verdict. Null for every other verdict.
          type:
          - object
          - 'null'
        correction_status:
          description: Whether a source-backed replacement statement is available
          enum:
          - available
          - not_established
          - conflicted
          - not_needed
          type: string
        corrections:
          description: Corrections when the claim contains inaccuracies
          items:
            $ref: '#/components/schemas/CorrectionDto'
          type: array
        document_breakdown:
          allOf:
          - $ref: '#/components/schemas/StanceBreakdownDto'
          description: Stance counts over every document analysed, before syndicated copies of one telling were collapsed into a single origin.
        document_count:
          description: Documents analysed. Reported for transparency; origin_count is what the verdict counts.
          example: 5
          type: number
        evidence_status:
          description: Readable source availability and stance coverage, independent of the legacy conflict flag. Absent means not assessed by this policy.
          enum:
          - unavailable
          - claim_evidence
          - context_only
          - unassessed
          type: string
        insufficient_evidence:
          description: True when the counts were split but no two sources could be quoted disagreeing, so the split was reported as unverifiable rather than as a controversy.
          example: false
          type: boolean
        key_findings:
          description: Key facts extracted from citations (only with useEnhancedAnalysis)
          items:
            $ref: '#/components/schemas/KeyFindingDto'
          type: array
        origin_count:
          description: Distinct origins behind those documents. Four outlets running one wire story are four documents and one origin, and only this number votes.
          example: 2
          type: number
        result:
          description: Overall verdict based on citation analysis
          enum:
          - supported
          - partially_supported
          - contradicted
          - mixed
          - unverifiable
          example: supported
          type: string
        stance_breakdown:
          allOf:
          - $ref: '#/components/schemas/StanceBreakdownDto'
          description: Breakdown of citation stances over distinct ORIGINS, which is what the verdict is computed from. For the raw per-document counts before origins were collapsed, see document_breakdown.
        summary:
          description: Human-readable summary of the findings
          example: Based on 4 authoritative sources, the claim appears to be well-supported by available evidence.
          type: string
        unverified_claims:
          description: Parts of the claim that could not be verified by any source
          example:
          - Aspect of claim that could not be verified
          items:
            type: string
          type: array
      required:
      - claim
      - result
      - confidence
      - summary
      - stance_breakdown
      type: object
    KeyFindingDto:
      properties:
        citation_ids:
          description: IDs of citations that support this finding
          example:
          - '1'
          - '3'
          - '4'
          items:
            type: string
          type: array
        confidence:
          description: Legacy model finding score (0-100); not calibrated truth confidence
          example: 92
          type: number
        confidence_available:
          description: True only when calibrated confidence is available
          type: boolean
        confidence_basis:
          enum:
          - unknown
          - heuristic
          - calibrated
          type: string
        evidence_role:
          description: Whether cited sources take a position on this claim or provide context only; absent means unassessed.
          enum:
          - claim_evidence
          - context
          type: string
        finding:
          description: A key fact extracted from the citations
          example: The event occurred on the stated date according to official records
          type: string
      required:
      - finding
      - citation_ids
      - confidence
      type: object
    CorrectionProofDto:
      properties:
        citation_id:
          example: caa-mohesr-2025
          type: string
        quote:
          description: Exact passage copied from the cited source excerpt
          type: string
      required:
      - citation_id
      - quote
      type: object
    StanceBreakdownDto:
      properties:
        contradicts:
          description: Number of citations that contradict the claim
          example: 0
          type: number
        inconclusive:
          description: Number of citations that looked at the claim and could not tell. Distinct from neutral, which is a source that took no side.
          example: 1
          type: number
        irrelevant:
          description: Number of citations judged off-topic. Excluded from every verdict denominator.
          example: 0
          type: number
        neutral:
          description: Number of citations that took no side. This counts the neutral stance only. It previously also absorbed inconclusive and unscored citations, which are now reported in their own fields below.
          example: 1
          type: number
        partially_supports:
          description: Number of citations that partially support the claim
          example: 1
          type: number
        supports:
          description: Number of citations that fully support the claim
          example: 3
          type: number
        unknown:
          description: 'Number of citations with no stance recorded. Never treated as agreement or as neutral: these were not scored, not scored as undecided.'
          example: 0
          type: number
      required:
      - supports
      - partially_supports
      - contradicts
      - neutral
      type: object
    BillingUsageDto:
      properties:
        credits:
          description: Credits actually deducted; null when a priced operation was not metered. Zero denotes a genuinely free operation.
          type:
          - number
          - 'null'
      required:
      - credits
      type: object
    SearchSourcesDto:
      properties:
        filters:
          additionalProperties: false
          description: Applied to retrieval query and retained source metadata. Domain and exclude_domain include subdomains. Known primary-source mismatches are excluded; unknown authority remains unconfirmed. Required domain, type, year and official-country constraints must match; an excluded domain never appears.
          properties:
            domain:
              items:
                type: string
              maxItems: 20
              minItems: 1
              type: array
            exclude_domain:
              description: Domains, with their subdomains, that no returned source may come from. A source whose redirect lands on one is excluded too. Applied after retrieval, so it never widens what is searched.
              example:
              - politifact.com
              - snopes.com
              items:
                type: string
              maxItems: 20
              minItems: 1
              type: array
            is_primary_source:
              type: boolean
            official_country:
              description: Two-letter country code for a recognized government authority; normalized to lower case.
              example: ae
              pattern: ^[a-zA-Z]{2}$
              type: string
            publication_year:
              additionalProperties: false
              properties:
                from:
                  maximum: 9999
                  minimum: 1000
                  type: integer
                to:
                  maximum: 9999
                  minimum: 1000
                  type: integer
              type: object
            source_type:
              items:
                type: string
              maxItems: 20
              minItems: 1
              type: array
          type: object
        limit:
          default: 10
          description: Maximum number of sources to return (1-20)
          maximum: 20
          minimum: 1
          type: number
        query:
          description: Search query to find sources for
          example: climate change effects on coral reefs
          type: string
      required:
      - query
      type: object
    CitationDto:
      properties:
        author:
          description: Author or domain name
          example: example
          type: string
        credibility_basis:
          description: Whether credibility_score rests on an actual measurement ('measured') or is a placeholder because no check has run yet ('unknown', e.g. no grounding signal or the citation has not been analysed). Absent means the same as "measured" for citations produced before this field existed.
          enum:
          - measured
          - heuristic
          - unknown
          example: measured
          type: string
        credibility_score:
          description: Credibility/relevance score from 1-100 (higher = more credible/relevant/authoritative)
          example: 95
          type: number
        evidence:
          description: 'Publisher evidence receipt v1: state, originalUrl, finalUrl, contentHash, retrievedAt, quoteMatch, typed publisher dates, retention, replayable and failureReason. Missing on legacy records means unknown provenance.'
          type: object
        group_id:
          description: Group ID for citations from the same domain
          example: group-example-com
          type: string
        highlight_ranges:
          description: Character ranges [start, end] in snippet that are most relevant to the claim
          example:
          - - 10
            - 25
          - - 40
            - 55
          items:
            type: string
          type: array
        id:
          description: Unique citation identifier
          example: '1'
          type: string
        is_group_primary:
          description: Whether this is the primary (highest-ranked) citation from its domain group
          example: true
          type: boolean
        publication_year:
          description: Publication year of the cited source
          example: 2024
          type: number
        rank:
          description: Sequential rank (1, 2, 3...) where rank 1 is the highest/best citation, based on credibility_score and verified status
          example: 1
          type: number
        ranking_factors:
          allOf:
          - $ref: '#/components/schemas/RankingFactorsDto'
          description: Breakdown of how the ranking score was calculated
        snippet:
          description: Relevant excerpt from the source
          example: This is a snippet from the article...
          type: string
        source_metadata:
          allOf:
          - $ref: '#/components/schemas/SourceMetadataDto'
          description: Additional metadata about the source
        source_type:
          description: 'Source type: Government Document, Dataset, Journal, Report, Trusted Media, Article, Reddit, Social Media'
          enum:
          - Government Document
          - Dataset
          - Journal
          - Report
          - Trusted Media
          - Article
          - Reddit
          - Social Media
          example: Article
          type: string
        stance:
          description: Whether this citation supports or contradicts the claim (only with useEnhancedAnalysis)
          enum:
          - supports
          - contradicts
          - partially_supports
          - neutral
          - inconclusive
          example: supports
          type: string
        stance_confidence:
          description: Confidence in the stance assessment (0-100)
          example: 90
          type: number
        stance_explanation:
          description: Brief explanation of the stance determination
          example: The source directly confirms the key claim with supporting data.
          type: string
        status:
          description: Verification status of the citation
          example: verified
          type: string
        title:
          description: Title of the cited source
          example: Example Article Title
          type: string
        url:
          description: URL of the cited source
          example: https://example.com/article
          type: string
      required:
      - title
      - url
      - snippet
      - id
      - author
      - status
      - credibility_score
      - rank
      type: object
    SearchMetadataDto:
      properties:
        analysis_model:
          description: Identifier of the analysis configuration that produced the result
          type: string
        constraint:
          description: 'Explicit constraint accounting: searched vs kept, plus dropped host classes (not publisher names).'
          type: object
        processing_time_ms:
          description: Total processing time in milliseconds
          example: 2340
          type: number
        relevant_sources_found:
          description: Number of relevant sources found and included
          example: 5
          type: number
        source_url_reads:
          description: Per supplied-URL read receipts, with fetched_at from retained capture time or null when unknown. Present for authenticated DD/eval; omitted on public MCP.
          items:
            type: string
          type: array
        total_sources_searched:
          description: Total number of sources searched
          example: 12
          type: number
      required:
      - total_sources_searched
      - relevant_sources_found
      - processing_time_ms
      - analysis_model
      type: object
    CorrectionDto:
      properties:
        actual:
          deprecated: true
          description: Deprecated v1 alias of corrected_statement
          type: string
        citation_ids:
          description: IDs of citations that support this correction
          example:
          - '2'
          items:
            type: string
          type: array
        claimed:
          description: What the user originally claimed
          example: The original claimed value
          type: string
        corrected_statement:
          description: A standalone replacement statement supported by the cited evidence
          example: The CAA operates under the UAE Ministry of Higher Education and Scientific Research.
          type: string
        proof:
          items:
            $ref: '#/components/schemas/CorrectionProofDto'
          type: array
      required:
      - claimed
      - corrected_statement
      - citation_ids
      - proof
      type: object
    NamedConflictDto:
      properties:
        contradicting:
          $ref: '#/components/schemas/ConflictSideDto'
        supporting:
          $ref: '#/components/schemas/ConflictSideDto'
      required:
      - supporting
      - contradicting
      type: object
    SearchResponseDto:
      properties:
        answer:
          allOf:
          - $ref: '#/components/schemas/ChatAnswerDto'
          description: 'POST /citation/chat only. The typed answer: sections of claims, each citing one or more returned citation ids (one id per entry, never a range), and unknown blocks for parts of the question the sources do not answer. When present, search_result_with_citations_mapping is rendered from it. Null unless answer_status is valid.'
          type:
          - object
          - 'null'
        answer_status:
          description: 'POST /citation/chat only. valid: answer validated (after at most one model retry). invalid: it failed validation twice. model_error: the model call failed. no_answer_text: there was no grounded answer to type (for example a cached replay). In every case but valid, search_result_with_citations_mapping is the original grounded text.'
          enum:
          - valid
          - invalid
          - model_error
          - no_answer_text
          type: string
        citations:
          deprecated: true
          description: '[DEPRECATED] Use claim_groups[0].citations instead. Legacy citations array.'
          items:
            $ref: '#/components/schemas/CitationDto'
          type: array
        claim_groups:
          description: 'Unified tree: All data organized by claim. Each claim_group contains citations, domain_groups, and verdict.'
          items:
            $ref: '#/components/schemas/ClaimGroupDto'
          type: array
        content:
          description: Text content from agent (for non-citation responses)
          type: string
        domain_groups:
          deprecated: true
          description: '[DEPRECATED] Use claim_groups[n].domain_groups instead. Legacy domain grouping.'
          items:
            $ref: '#/components/schemas/DomainGroupDto'
          type: array
        generated_prompts:
          description: Generated sub-prompts when useMultiplePrompt is enabled
          example:
          - What are the latest AI trends?
          - What are emerging AI technologies?
          items:
            type: string
          type: array
        narrative_status:
          description: 'no_sources: no citation was retained, so no narrative is returned except the legacy NOT_SEARCHABLE sentinel. model_text: the narrative is model-written; only its kept [n] markers point at returned citations.'
          enum:
          - no_sources
          - model_text
          type: string
        operation_id:
          description: Billing operation identifier on public v1 responses; null when no operation was recorded.
          type:
          - string
          - 'null'
        search_metadata:
          allOf:
          - $ref: '#/components/schemas/SearchMetadataDto'
          description: Metadata about the search and analysis process
        search_result:
          description: Model-written search summary. It is not evidence. With no_sources it is empty except for the legacy NOT_SEARCHABLE sentinel.
          type: string
        search_result_with_citations_mapping:
          description: The search summary with [n] markers. [n] is the nth entry of citations (or of claim_groups citations when citations is absent). A marker is kept only when that citation passage is fetched and contains every figure and literal metric/unit context in the marked sentence or table row; figures without a marker are unsourced model text. Empty when narrative_status is no_sources.
          type: string
        thread_id:
          description: Thread ID for conversation continuity
          example: 123e4567-e89b-12d3-a456-426614174000
          type: string
        totalResults:
          description: Total number of citations across all claims
          example: 5
          type: number
        usage:
          allOf:
          - $ref: '#/components/schemas/BillingUsageDto'
          description: Billing usage on public v1 responses.
        usages:
          allOf:
          - $ref: '#/components/schemas/UsageTotalsDto'
          description: Token usage of the model calls this request made; credits are reported separately.
        verdict:
          allOf:
          - $ref: '#/components/schemas/VerdictDto'
          deprecated: true
          description: '[DEPRECATED] Use claim_groups[n].verdict instead. Legacy overall verdict.'
      type: object
    ChatAnswerSectionDto:
      properties:
        blocks:
          items:
            $ref: '#/components/schemas/ChatAnswerBlockDto'
          type: array
        heading:
          type: string
      required:
      - heading
      - blocks
      type: object
    ChatAnswerBlockDto:
      properties:
        citations:
          description: 'claim: ids of returned citations supporting it, at least one, one id per entry.'
          example:
          - '1'
          - '3'
          items:
            type: string
          type: array
        kind:
          enum:
          - claim
          - unknown
          type: string
        text:
          description: 'claim: the statement, without [n] markers.'
          type: string
        topic:
          description: 'unknown: the part of the question the sources do not answer.'
          type: string
      required:
      - kind
      type: object
    ConflictSideDto:
      properties:
        citation_id:
          description: Id of the citation taking this side
          example: cit_3
          type: string
        quote:
          description: The text this source actually carries, quoted rather than summarised, so a reader can check the disagreement themselves
          example: The review concluded the figure was 3.1 billion.
          type: string
        source:
          description: The source, by url where known and by domain otherwise
          example: ministry.example.gov
          type: string
      required:
      - citation_id
      - source
      - quote
      type: object
    UsageTotalsDto:
      properties:
        cached:
          description: True when the response was served from the server cache and this request spent no tokens.
          type: boolean
        input_tokens:
          description: Input tokens of the model calls this request made. 0 when the response was served from the server cache.
          type: number
        output_tokens:
          description: Output tokens of the model calls this request made.
          type: number
        total_tokens:
          description: Total tokens of the model calls this request made.
          type: number
        usage_unknown:
          description: True when a model call this request made could not be measured, so the totals are a lower bound.
          type: boolean
      required:
      - input_tokens
      - output_tokens
      - total_tokens
      - usage_unknown
      - cached
      type: object
    ChatAnswerDto:
      properties:
        sections:
          items:
            $ref: '#/components/schemas/ChatAnswerSectionDto'
          type: array
      required:
      - sections
      type: object
    SourceMetadataDto:
      properties:
        domain:
          description: Extracted domain from URL
          example: example.gov
          type: string
        domain_category:
          description: Category of the source domain
          enum:
          - government
          - academic
          - news
          - organization
          - encyclopedia
          - social
          - other
          example: government
          type: string
        is_fact_check_site:
          description: Whether this is a fact-checking website (snopes, politifact, etc.)
          example: false
          type: boolean
        is_primary_source:
          description: Whether this is a primary source (government, official, press release)
          example: true
          type: boolean
      required:
      - domain
      - domain_category
      - is_primary_source
      - is_fact_check_site
      type: object
    DomainGroupDto:
      properties:
        domain:
          description: Domain that groups these citations
          example: example.com
          type: string
        domain_category:
          description: Category of this domain
          enum:
          - government
          - academic
          - news
          - organization
          - encyclopedia
          - social
          - other
          example: news
          type: string
        group_id:
          description: Unique identifier for this domain group
          example: group-example-com
          type: string
        group_stance:
          description: Overall stance of citations from this domain
          enum:
          - supports
          - contradicts
          - mixed
          - neutral
          example: supports
          type: string
        primary_citation_id:
          description: ID of the primary (highest-ranked) citation from this domain
          example: '1'
          type: string
      required:
      - group_id
      - domain
      - domain_category
      - group_stance
      - primary_citation_id
      type: object
  securitySchemes:
    apiKey:
      in: header
      name: x-api-key
      type: apiKey
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Webcite API key. Create one at https://webcite.co/api-keys (sign-in required).
    bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Session token of a user signed in to the Webcite web app. Agents and server code use the x-api-key header.
    oauth2:
      type: oauth2
      description: 'OAuth 2.0 authorization code flow with PKCE (S256) for the hosted MCP server at https://api.webcite.co/mcp. Clients register dynamically or use a Client ID Metadata Document. Discovery: https://api.webcite.co/.well-known/oauth-authorization-server. The REST operations here take the x-api-key header.'
      flows:
        authorizationCode:
          authorizationUrl: https://api.webcite.co/api/v1/oauth/authorize
          tokenUrl: https://api.webcite.co/api/v1/oauth/token
          refreshUrl: https://api.webcite.co/api/v1/oauth/token
          scopes:
            webcite:mcp: Use the Webcite MCP tools, billed to your account like an API key.
externalDocs:
  description: Webcite API documentation
  url: https://webcite.co/api-docs