TickerTrac Ask API

The ask API from TickerTrac — 3 operation(s) for ask.

GitHub OpenAPI

Operations 3

GET /ask/history List Ask History #
POST /ask Ask #
POST /ask/stream Ask Stream #

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/tickertrac-com:tickertrac-com-ask-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

tickertrac-com-ask-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TickerRAG Ask API
  version: 0.1.0
tags:
- name: ask
paths:
  /ask/history:
    get:
      tags:
      - ask
      summary: List Ask History
      operationId: list_ask_history_ask_history_get
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
      parameters:
      - name: ticker
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Ticker
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AskHistoryOut'
                title: Response List Ask History Ask History Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /ask:
    post:
      tags:
      - ask
      summary: Ask
      operationId: ask_ask_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AskRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AskResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /ask/stream:
    post:
      tags:
      - ask
      summary: Ask Stream
      operationId: ask_stream_ask_stream_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AskRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AskResponse:
      properties:
        text:
          type: string
          title: Text
        sources:
          items:
            $ref: '#/components/schemas/SourceChunk'
          type: array
          title: Sources
        outcome:
          type: string
          enum:
          - answered
          - insufficient_evidence
          title: Outcome
          default: answered
        abstention_reason:
          anyOf:
          - type: string
            enum:
            - no_relevant_evidence
            - insufficient_citation_support
            - conflicting_evidence
            - outside_source_coverage
          - type: 'null'
          title: Abstention Reason
      type: object
      required:
      - text
      - sources
      title: AskResponse
    ThesisComponentSnapshotOut:
      properties:
        kind:
          type: string
          enum:
          - claim
          - expectation
          - invalidation
          title: Kind
        heading:
          type: string
          title: Heading
        statement:
          type: string
          title: Statement
      type: object
      required:
      - kind
      - heading
      - statement
      title: ThesisComponentSnapshotOut
      description: One user-authored factor as it stood when the judgment was made.
    ResultThesisImplicationOut:
      properties:
        id:
          type: integer
          title: Id
        alert_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Alert Id
        status:
          type: string
          enum:
          - pending
          - relevant
          - irrelevant
          - abstained
          - failed
          title: Status
        conclusion:
          type: string
          enum:
          - supports
          - weakens
          - unrelated
          - uncertain
          title: Conclusion
        thesis_context_type:
          type: string
          enum:
          - ticker
          - shared
          title: Thesis Context Type
        shared_thesis_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Shared Thesis Id
        shared_thesis_title:
          anyOf:
          - type: string
          - type: 'null'
          title: Shared Thesis Title
        thesis_text:
          type: string
          title: Thesis Text
        reasoning:
          anyOf:
          - type: string
          - type: 'null'
          title: Reasoning
        materiality:
          anyOf:
          - type: string
            enum:
            - material
            - immaterial
            - uncertain
          - type: 'null'
          title: Materiality
        relationship:
          anyOf:
          - type: string
            enum:
            - support
            - contradict
            - neutral
          - type: 'null'
          title: Relationship
        thesis_impact:
          anyOf:
          - type: string
            enum:
            - strengthened
            - weakened
            - broken
            - uncertain
          - type: 'null'
          title: Thesis Impact
        thesis_factor:
          anyOf:
          - type: string
          - type: 'null'
          title: Thesis Factor
        evidence_factor:
          anyOf:
          - type: string
          - type: 'null'
          title: Evidence Factor
        causal_bridge:
          anyOf:
          - type: string
          - type: 'null'
          title: Causal Bridge
        evaluated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Evaluated At
        is_backfill:
          type: boolean
          title: Is Backfill
          default: false
        thesis_narrative:
          type: string
          title: Thesis Narrative
          readOnly: true
        thesis_components:
          items:
            $ref: '#/components/schemas/ThesisComponentSnapshotOut'
          type: array
          title: Thesis Components
          readOnly: true
      type: object
      required:
      - id
      - status
      - conclusion
      - thesis_context_type
      - thesis_text
      - thesis_narrative
      - thesis_components
      title: ResultThesisImplicationOut
      description: One private judgment connecting a shared research result to saved reasoning.
    ResultThesisImplicationsOut:
      properties:
        artifact_id:
          type: integer
          title: Artifact Id
        source:
          type: string
          enum:
          - ask
          - call_drift
          - filing_diff
          - price_move
          title: Source
        state:
          type: string
          enum:
          - not_evaluated
          - pending
          - ready
          title: State
        implications:
          items:
            $ref: '#/components/schemas/ResultThesisImplicationOut'
          type: array
          title: Implications
      type: object
      required:
      - artifact_id
      - source
      - state
      title: ResultThesisImplicationsOut
      description: Summary-first IA contract for a tenant judgment beneath shared evidence.
    SourceChunk:
      properties:
        source_type:
          type: string
          enum:
          - filing
          - earnings_call
          - disclosure
          title: Source Type
          default: filing
        ticker:
          type: string
          title: Ticker
        section:
          type: string
          title: Section
        fiscal_period:
          type: string
          title: Fiscal Period
        filed_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Filed Date
        event_date:
          anyOf:
          - type: string
            format: date
          - type: 'null'
          title: Event Date
        published_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Published At
        publication_date_known:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Publication Date Known
        observed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Observed At
        provider_code:
          anyOf:
          - type: string
          - type: 'null'
          title: Provider Code
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        speaker_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Speaker Name
        speaker_role:
          anyOf:
          - type: string
            enum:
            - executive
            - analyst
            - operator
            - other
            - unknown
          - type: 'null'
          title: Speaker Role
        source_locator:
          anyOf:
          - type: string
          - type: 'null'
          title: Source Locator
        source_artifact_version_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Source Artifact Version Id
        source_segment_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Source Segment Id
        source_chunk_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Source Chunk Id
        source_document_chunk_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Source Document Chunk Id
        source_document_segment_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Source Document Segment Id
        form_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Form Type
        char_start:
          anyOf:
          - type: integer
          - type: 'null'
          title: Char Start
        char_end:
          anyOf:
          - type: integer
          - type: 'null'
          title: Char End
        page_number:
          anyOf:
          - type: integer
          - type: 'null'
          title: Page Number
        chunk_index:
          anyOf:
          - type: integer
          - type: 'null'
          title: Chunk Index
        source_url:
          type: string
          title: Source Url
        company_transcript_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Transcript Url
      type: object
      required:
      - ticker
      - section
      - fiscal_period
      - source_url
      title: SourceChunk
    AskHistoryOut:
      properties:
        id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Id
        ticker:
          anyOf:
          - type: string
          - type: 'null'
          title: Ticker
        question:
          type: string
          title: Question
        answer:
          type: string
          title: Answer
        sources:
          items:
            $ref: '#/components/schemas/SourceChunk'
          type: array
          title: Sources
        source_scope:
          type: string
          enum:
          - all
          - filings
          - calls
          title: Source Scope
          default: all
        transcript_section:
          type: string
          enum:
          - all
          - prepared_remarks
          - questions_and_answers
          title: Transcript Section
          default: all
        speaker_role:
          type: string
          enum:
          - all
          - executive
          - analyst
          title: Speaker Role
          default: all
        outcome:
          type: string
          enum:
          - answered
          - insufficient_evidence
          title: Outcome
          default: answered
        abstention_reason:
          anyOf:
          - type: string
            enum:
            - no_relevant_evidence
            - insufficient_citation_support
            - conflicting_evidence
            - outside_source_coverage
          - type: 'null'
          title: Abstention Reason
        asked_at:
          type: string
          format: date-time
          title: Asked At
        result_thesis_implications:
          anyOf:
          - $ref: '#/components/schemas/ResultThesisImplicationsOut'
          - type: 'null'
      type: object
      required:
      - ticker
      - question
      - answer
      - sources
      - asked_at
      title: AskHistoryOut
    AskRequest:
      properties:
        question:
          type: string
          maxLength: 8000
          minLength: 1
          title: Question
        ticker:
          anyOf:
          - type: string
            maxLength: 16
            minLength: 1
          - type: 'null'
          title: Ticker
        watchlist_id:
          anyOf:
          - type: integer
          - type: 'null'
          title: Watchlist Id
        section:
          anyOf:
          - type: string
            maxLength: 100
          - type: 'null'
          title: Section
        top_k:
          type: integer
          maximum: 50.0
          minimum: 1.0
          title: Top K
          default: 5
        embedding_model:
          type: string
          enum:
          - voyage-4
          - voyage-finance-2
          title: Embedding Model
          default: voyage-4
        source_scope:
          type: string
          enum:
          - all
          - filings
          - calls
          title: Source Scope
          default: all
        transcript_section:
          type: string
          enum:
          - all
          - prepared_remarks
          - questions_and_answers
          title: Transcript Section
          default: all
        speaker_role:
          type: string
          enum:
          - all
          - executive
          - analyst
          title: Speaker Role
          default: all
      additionalProperties: false
      type: object
      required:
      - question
      title: AskRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key