TickerTrac thesis structure API
The thesis structure API from TickerTrac — 2 operation(s) for thesis structure.
The thesis structure API from TickerTrac — 2 operation(s) for thesis structure.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/tickertrac-com:tickertrac-com-thesis-structure-api"
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.
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: 3.2.0
info:
title: TickerRAG thesis structure API
version: 0.1.0
tags:
- name: thesis structure
paths:
/watchlists/{watchlist_id}/theses/structure:
get:
tags:
- thesis structure
summary: List Thesis Structures
description: 'Every thesis on this watchlist with its structure, in one request.
The per-ticker route exists for the editor, which is looking at one company. A
view over all of them asking which theses are actually testable would otherwise
make one request per thesis, and the answer it wants -- how many carry an
invalidation criterion -- is precisely the thing that is invisible when the only
way to see it is opening each company in turn.'
operationId: list_thesis_structures_watchlists__watchlist_id__theses_structure_get
security:
- HTTPBearer: []
- APIKeyHeader: []
parameters:
- name: watchlist_id
in: path
required: true
schema:
type: integer
title: Watchlist Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ThesisStructureOut'
title: Response List Thesis Structures Watchlists Watchlist Id Theses Structure Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/watchlists/{watchlist_id}/theses/{ticker}/structure:
get:
tags:
- thesis structure
summary: Get Thesis Structure
operationId: get_thesis_structure_watchlists__watchlist_id__theses__ticker__structure_get
security:
- HTTPBearer: []
- APIKeyHeader: []
parameters:
- name: watchlist_id
in: path
required: true
schema:
type: integer
title: Watchlist Id
- name: ticker
in: path
required: true
schema:
type: string
title: Ticker
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ThesisStructureOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- thesis structure
summary: Replace Thesis Structure
description: Replace the *current* map while preserving factor identity and archived rows.
operationId: replace_thesis_structure_watchlists__watchlist_id__theses__ticker__structure_put
security:
- HTTPBearer: []
- APIKeyHeader: []
parameters:
- name: watchlist_id
in: path
required: true
schema:
type: integer
title: Watchlist Id
- name: ticker
in: path
required: true
schema:
type: string
title: Ticker
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ThesisStructureIn'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ThesisStructureOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ThesisComponentIn:
properties:
id:
anyOf:
- type: integer
exclusiveMinimum: 0.0
- type: 'null'
title: Id
kind:
type: string
enum:
- claim
- expectation
- invalidation
title: Kind
statement:
type: string
maxLength: 1000
minLength: 3
title: Statement
type: object
required:
- kind
- statement
title: ThesisComponentIn
ThesisStructureOut:
properties:
ticker:
type: string
title: Ticker
thesis_updated_at:
type: string
format: date-time
title: Thesis Updated At
components:
items:
$ref: '#/components/schemas/ThesisComponentOut'
type: array
title: Components
has_claims:
type: boolean
title: Has Claims
has_expectations:
type: boolean
title: Has Expectations
has_invalidations:
type: boolean
title: Has Invalidations
is_testable:
type: boolean
title: Is Testable
is_active:
type: boolean
title: Is Active
default: true
type: object
required:
- ticker
- thesis_updated_at
- components
- has_claims
- has_expectations
- has_invalidations
- is_testable
title: ThesisStructureOut
ThesisComponentOut:
properties:
id:
type: integer
title: Id
kind:
type: string
enum:
- claim
- expectation
- invalidation
title: Kind
statement:
type: string
title: Statement
position:
type: integer
title: Position
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- kind
- statement
- position
- created_at
- updated_at
title: ThesisComponentOut
ThesisStructureIn:
properties:
components:
items:
$ref: '#/components/schemas/ThesisComponentIn'
type: array
maxItems: 24
title: Components
type: object
title: ThesisStructureIn
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