TickerTrac Auth API

The auth API from TickerTrac — 21 operation(s) for auth.

GitHub OpenAPI

Operations 22

GET /auth/signup-config Signup Config #
POST /auth/signup Signup #
POST /auth/login Login #
GET /auth/verify-email Verify Email #
POST /auth/verify-email Verify Email From Page #
GET /auth/google/login Google Login #
POST /auth/google/link/start Google Link Start #
GET /auth/google/status Google Status #
GET /auth/google/callback Google Callback #
POST /auth/mobile/exchange Mobile Token Exchange #
POST /auth/set-password Set Password #
POST /auth/renew Renew Session #
POST /auth/change-password Change Password #
POST /auth/forgot-password Forgot Password #
POST /auth/reset-password Reset Password #
GET /auth/apple/config Config #
GET /auth/apple/status Status #
POST /auth/apple/start Start #
POST /auth/apple/link/start Link Start #
POST /auth/apple/complete Complete #
POST /auth/apple/notifications Notifications #
POST /auth/apple/link/revoked Credential Revoked #

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-auth-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-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TickerRAG Auth API
  version: 0.1.0
tags:
- name: Auth
paths:
  /auth/signup-config:
    get:
      tags:
      - Auth
      summary: Signup Config
      description: 'What the sign-up page needs before it renders: whether email sign-ups are paused,

        and the web lane''s Turnstile site key while that challenge is on.'
      operationId: signup_config_auth_signup_config_get
      parameters:
      - name: client
        in: query
        required: false
        schema:
          enum:
          - web
          - app
          type: string
          default: web
          title: Client
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SignupConfigOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/signup:
    post:
      tags:
      - Auth
      summary: Signup
      operationId: signup_auth_signup_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignupRequest'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/login:
    post:
      tags:
      - Auth
      summary: Login
      operationId: login_auth_login_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/verify-email:
    get:
      tags:
      - Auth
      summary: Verify Email
      description: The link format emailed before 2026-09-24; those links keep working.
      operationId: verify_email_auth_verify_email_get
      parameters:
      - name: token
        in: query
        required: true
        schema:
          type: string
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Auth
      summary: Verify Email From Page
      description: The emailed link opens /verify-email in the web app or a phone app, which posts here.
      operationId: verify_email_from_page_auth_verify_email_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyEmailIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/google/login:
    get:
      tags:
      - Auth
      summary: Google Login
      operationId: google_login_auth_google_login_get
      parameters:
      - name: source
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Source
      - name: placement
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Placement
      - name: channel
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 24
          - type: 'null'
          title: Channel
      - name: entry
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 24
          - type: 'null'
          title: Entry
      - name: medium
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 16
          - type: 'null'
          title: Medium
      - name: campaign
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Campaign
      - name: creative
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Creative
      - name: acquisition
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 4096
          - type: 'null'
          title: Acquisition
      - name: ref
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Ref
      - name: next
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Next
      - name: client
        in: query
        required: false
        schema:
          enum:
          - web
          - mobile
          type: string
          default: web
          title: Client
      - name: code_challenge
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            minLength: 43
            maxLength: 43
            pattern: ^[A-Za-z0-9_-]{43}$
          - type: 'null'
          title: Code Challenge
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/google/link/start:
    post:
      tags:
      - Auth
      summary: Google Link Start
      description: 'Connect Google to the signed-in account. The Google subject is what gets linked; the

        Google account''s email plays no part, exactly as with Connect Apple. The state carries the

        account, so the callback can never create or switch accounts for a link attempt.'
      operationId: google_link_start_auth_google_link_start_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleLinkStart'
        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: []
  /auth/google/status:
    get:
      tags:
      - Auth
      summary: Google Status
      operationId: google_status_auth_google_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /auth/google/callback:
    get:
      tags:
      - Auth
      summary: Google Callback
      operationId: google_callback_auth_google_callback_get
      parameters:
      - name: code
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Code
      - name: state
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: State
      - name: error
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Error
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/mobile/exchange:
    post:
      tags:
      - Auth
      summary: Mobile Token Exchange
      operationId: mobile_token_exchange_auth_mobile_exchange_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MobileTokenExchangeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/set-password:
    post:
      tags:
      - Auth
      summary: Set Password
      description: 'Give an account its first password. Replacing one goes through change-password.


        This bridge once overwrote any password for any session, which would have made the

        current-password check on change-password decorative. It now only fills a missing one.'
      operationId: set_password_auth_set_password_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetPasswordRequest'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /auth/renew:
    post:
      tags:
      - Auth
      summary: Renew Session
      description: 'Swap a signed-in session for a fresh one, so an app in regular use stays signed in.


        A session still ends seven days after its last renewal, and a password change still

        ends it: get_current_user has already refused a token issued before that change. An

        Apple session keeps its revocable session binding. Only a bearer session renews; an

        API key is a different credential and is never exchanged for a session token.


        Renewal also stops SESSION_MAX_AGE_DAYS after the sign-in that started the chain, so

        a token taken once cannot be kept alive indefinitely by renewing it; the person signs

        in again. A token from before the stamp existed is dated from its own issue.'
      operationId: renew_session_auth_renew_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /auth/change-password:
    post:
      tags:
      - Auth
      summary: Change Password
      description: 'Change a password, or add the first one to a Google or Apple account.


        An existing password must be confirmed. The change signs out every other session, and

        the fresh token returned here keeps this one signed in. A wrong current password is a

        400, not a 401: the client reads 401 as "your session ended" and would sign out.'
      operationId: change_password_auth_change_password_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangePasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /auth/forgot-password:
    post:
      tags:
      - Auth
      summary: Forgot Password
      operationId: forgot_password_auth_forgot_password_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForgotPasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/reset-password:
    post:
      tags:
      - Auth
      summary: Reset Password
      operationId: reset_password_auth_reset_password_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResetPasswordRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/apple/config:
    get:
      tags:
      - Auth
      summary: Config
      operationId: config_auth_apple_config_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /auth/apple/status:
    get:
      tags:
      - Auth
      summary: Status
      operationId: status_auth_apple_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
  /auth/apple/start:
    post:
      tags:
      - Auth
      summary: Start
      operationId: start_auth_apple_start_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppleStart'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/apple/link/start:
    post:
      tags:
      - Auth
      summary: Link Start
      operationId: link_start_auth_apple_link_start_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppleStart'
        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: []
  /auth/apple/complete:
    post:
      tags:
      - Auth
      summary: Complete
      operationId: complete_auth_apple_complete_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppleComplete'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/apple/notifications:
    post:
      tags:
      - Auth
      summary: Notifications
      operationId: notifications_auth_apple_notifications_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AppleNotification'
        required: true
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /auth/apple/link/revoked:
    post:
      tags:
      - Auth
      summary: Credential Revoked
      description: The installed client observed the OS credential as revoked/not found.
      operationId: credential_revoked_auth_apple_link_revoked_post
      responses:
        '204':
          description: Successful Response
      security:
      - HTTPBearer: []
      - APIKeyHeader: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MobileTokenExchangeRequest:
      properties:
        code:
          type: string
          maxLength: 43
          minLength: 43
          pattern: ^[A-Za-z0-9_-]{43}$
          title: Code
        code_verifier:
          type: string
          maxLength: 128
          minLength: 43
          pattern: ^[A-Za-z0-9._~-]{43,128}$
          title: Code Verifier
      additionalProperties: false
      type: object
      required:
      - code
      - code_verifier
      title: MobileTokenExchangeRequest
    ResetPasswordRequest:
      properties:
        token:
          type: string
          title: Token
        password:
          type: string
          title: Password
      type: object
      required:
      - token
      - password
      title: ResetPasswordRequest
    LoginRequest:
      properties:
        email:
          type: string
          title: Email
        password:
          type: string
          title: Password
      type: object
      required:
      - email
      - password
      title: LoginRequest
    TokenResponse:
      properties:
        access_token:
          type: string
          title: Access Token
        token_type:
          type: string
          title: Token Type
          default: bearer
        api_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Api Key
      type: object
      required:
      - access_token
      title: TokenResponse
    SignupConfigOut:
      properties:
        email_signups_paused:
          type: boolean
          title: Email Signups Paused
        turnstile_site_key:
          anyOf:
          - type: string
          - type: 'null'
          title: Turnstile Site Key
        play_integrity_project_number:
          anyOf:
          - type: string
          - type: 'null'
          title: Play Integrity Project Number
      type: object
      required:
      - email_signups_paused
      title: SignupConfigOut
    ForgotPasswordRequest:
      properties:
        email:
          type: string
          title: Email
      type: object
      required:
      - email
      title: ForgotPasswordRequest
    ChangePasswordRequest:
      properties:
        current_password:
          anyOf:
          - type: string
          - type: 'null'
          title: Current Password
        new_password:
          type: string
          title: New Password
      additionalProperties: false
      type: object
      required:
      - new_password
      title: ChangePasswordRequest
    SetPasswordRequest:
      properties:
        password:
          type: string
          title: Password
      type: object
      required:
      - password
      title: SetPasswordRequest
    SignupRequest:
      properties:
        onboarding_next:
          anyOf:
          - type: string
            maxLength: 200
          - type: 'null'
          title: Onboarding Next
        preview_handoff:
          anyOf:
          - type: string
            pattern: ^[0-9a-f]{64}$
          - type: 'null'
          title: Preview Handoff
        email:
          type: string
          title: Email
        password:
          type: string
          title: Password
        timezone:
          anyOf:
          - type: string
            maxLength: 64
          - type: 'null'
          title: Timezone
        acquisition_channel:
          anyOf:
          - type: string
            enum:
            - reddit
            - instagram
            - owned_web
            - x
            - linkedin
            - email
            - substack
            - direct
            - chatgpt
            - claude
            - codex
            - mcp_registry
            - openai
            - muse
            - cursor
            - grok_chat
            - grok_build
          - type: 'null'
          title: Acquisition Channel
        acquisition_entry:
          anyOf:
          - type: string
            enum:
            - feed
            - post
            - profile_bio
            - story_link
            - landing
            - review
            - direct
            - record_page
            - record_entry
            - badge
          - type: 'null'
          title: Acquisition Entry
        acquisition_medium:
          anyOf:
          - type: string
            maxLength: 16
          - type: 'null'
          title: Acquisition Medium
        acquisition_campaign:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Acquisition Campaign
        acquisition_creative:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Acquisition Creative
        acquisition_source:
          anyOf:
          - type: string
            enum:
            - landing
            - editorial_email
            - editorial_review
            - record
            - get_app
            - assistants
          - type: 'null'
          title: Acquisition Source
        cta_placement:
          anyOf:
          - type: string
            enum:
            - header
            - hero
            - reason_preview
            - revision
            - footer
          - type: 'null'
          title: Cta Placement
        hero_variant:
          anyOf:
          - type: string
            enum:
            - record
            - replay
            - scope
            - control
          - type: 'null'
          title: Hero Variant
        acquisition_token:
          anyOf:
          - type: string
            maxLength: 4096
          - type: 'null'
          title: Acquisition Token
        writer_referral_code:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Writer Referral Code
        client:
          type: string
          enum:
          - web
          - app
          title: Client
          default: web
        turnstile_token:
          anyOf:
          - type: string
            maxLength: 2048
          - type: 'null'
          title: Turnstile Token
        integrity_token:
          anyOf:
          - type: string
            maxLength: 16384
          - type: 'null'
          title: Integrity Token
      type: object
      required:
      - email
      - password
      title: SignupRequest
    VerifyEmailIn:
      properties:
        token:
          type: string
          maxLength: 200
          minLength: 1
          title: Token
      additionalProperties: false
      type: object
      required:
      - token
      title: VerifyEmailIn
    AppleComplete:
      properties:
        state:
          type: string
          pattern: ^[A-Za-z0-9_-]{43}$
          title: State
        code_verifier:
          type: string
          pattern: ^[A-Za-z0-9._~-]{43,128}$
          title: Code Verifier
        authorization_code:
          type: string
          maxLength: 2048
          minLength: 1
          title: Authorization Code
      additionalProperties: false
      type: object
      required:
      - state
      - code_verifier
      - authorization_code
      title: AppleComplete
    GoogleLinkStart:
      properties:
        client:
          type: string
          enum:
          - web
          - mobile
          title: Client
          default: web
        code_challenge:
          anyOf:
          - type: string
            pattern: ^[A-Za-z0-9_-]{43}$
          - type: 'null'
          title: Code Challenge
      additionalProperties: false
      type: object
      title: GoogleLinkStart
    AppleStart:
      properties:
        code_challenge:
          type: string
          pattern: ^[A-Za-z0-9_-]{43}$
          title: Code Challenge
        next:
          type: string
          maxLength: 1000
          title: Next
          default: /
        acquisition_token:
          anyOf:
          - type: string
            maxLength: 4096
          - type: 'null'
          title: Acquisition Token
        writer_referral_code:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Writer Referral Code
        acquisition_source:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Acquisition Source
        cta_placement:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Cta Placement
        hero_variant:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Hero Variant
        acquisition_channel:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Acquisition Channel
        acquisition_entry:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Acquisition Entry
        acquisition_medium:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Acquisition Medium
        acquisition_campaign:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Acquisition Campaign
        acquisition_creative:
          anyOf:
          - type: string
            maxLength: 32
          - type: 'null'
          title: Acquisition Creative
      additionalProperties: false
      type: object
      required:
      - code_challenge
      title: AppleStart
    AppleNotification:
      properties:
        payload:
          type: string
          maxLength: 16384
          minLength: 1
          title: Payload
      additionalProperties: false
      type: object
      required:
      - payload
      title: AppleNotification
    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