Outcometick Purchase API

Buying plans, ranges and credits

GitHub OpenAPI

Operations 15

GET /v1/public/plans Data subscription plans and prepaid offers with live prices #
GET /v1/public/smart-plans Smart-money wallet list plans (USD only) #
GET /v1/backtest/packs Credit packs, prices, sellable venues/assets and run limits #
POST /v1/public/checkout Start a card checkout for a data or smart-money plan; returns a Stripe payment… #
POST /v1/public/claim-key After a card checkout: the key it bought (shown once) #
POST /v1/public/range-quote Price a one-time purchase of a fixed date range. #
POST /v1/public/range-checkout Start a card checkout for a fixed date range #
POST /v1/public/crypto-order Pay for a plan with USDT/USDC (one-time; priced in USD) #
POST /v1/public/range-crypto-order Pay for a fixed date range with USDT/USDC #
GET /v1/public/crypto-order/{id} A stablecoin order and its payment status #
POST /v1/public/crypto-claim After a stablecoin order is paid: the key it bought (shown once) #
POST /v1/public/crypto-ack Confirm the key from a stablecoin order is saved #
POST /v1/backtest/checkout Buy a credit pack by card; returns a Stripe payment page URL #
POST /v1/backtest/claim-credits After a credit-pack card checkout: the backtest key (shown once) and balance #
POST /v1/backtest/crypto-order Buy a credit pack with USDT/USDC #

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/outcometick-com:outcometick-com-purchase-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

outcometick-com-purchase-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: outcometick Purchase API
  version: 3.1.0
  summary: Historical tick data for Polymarket and Predict.fun crypto up/down markets, and a hosted backtester.
  description: 'Public endpoints need no key. Data endpoints take a data subscription key, backtest endpoints a backtest key, both as `Authorization: Bearer `. Operations marked x-requires-human-confirmation spend money or credits: an agent must get the user''s explicit approval first. Full documentation: https://outcometick.com/llms-full.txt'
  contact:
    email: support@outcometick.com
    url: https://outcometick.com/docs
servers:
- url: https://outcometick.com
security: []
tags:
- name: Purchase
  description: Buying plans, ranges and credits
paths:
  /v1/public/plans:
    get:
      operationId: plans
      tags:
      - Purchase
      security: []
      summary: Data subscription plans and prepaid offers with live prices
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  plans:
                    type: array
                    items:
                      $ref: '#/components/schemas/Plan'
                  prepay:
                    type: array
                    items:
                      $ref: '#/components/schemas/PrepayOffer'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/smart-plans:
    get:
      operationId: smartPlans
      tags:
      - Purchase
      security: []
      summary: Smart-money wallet list plans (USD only)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  onSale:
                    type: boolean
                  plans:
                    type: array
                    items:
                      type: object
                      properties:
                        planId:
                          type: string
                        plan:
                          type: string
                          enum:
                          - smart100
                          - smart1000
                          - smart3000
                          - smartall
                        usd:
                          type: number
                        passUsd:
                          type:
                          - number
                          - 'null'
                        interval:
                          type: string
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/backtest/packs:
    get:
      operationId: backtestPacks
      tags:
      - Purchase
      security: []
      summary: Credit packs, prices, sellable venues/assets and run limits
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/checkout:
    post:
      operationId: checkout
      tags:
      - Purchase
      security: []
      summary: Start a card checkout for a data or smart-money plan; returns a Stripe payment…
      x-requires-human-confirmation: true
      description: Spends money or credits. An agent must show the quote to the user and get explicit approval before calling this. A person completes payment on the returned page; the key is shown on the return page and emailed. Pass apiKey to extend that key's subscription instead of getting a new one; only the same plan or a wider one is accepted with a key.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                planId:
                  type: string
                  pattern: ^[a-z0-9_]{1,64}$
                kind:
                  type: string
                  enum:
                  - sub
                  - pass
                  default: sub
                  description: sub renews monthly; pass is one-time
                locale:
                  type: string
                  enum:
                  - en
                  - zh
                  default: en
                  description: Decides the currency (zh pays in CNY) and the return page
                apiKey:
                  type: string
                  description: Existing key to top up (proof of ownership)
              required:
              - planId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutUrl'
        '400':
          description: Bad request or key for another product
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: apiKey not recognised
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Plan not available
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Plan narrower than what that key holds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/claim-key:
    post:
      operationId: claimKey
      tags:
      - Purchase
      security: []
      summary: 'After a card checkout: the key it bought (shown once)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sessionId:
                  type: string
                  pattern: ^cs_[A-Za-z0-9_]{10,200}$
                  description: Stripe Checkout Session id from the success redirect
              required:
              - sessionId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssuedKey'
        '202':
          description: Paid but not active yet; poll
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pending'
        '400':
          description: Bad session id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown session
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Key already issued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/range-quote:
    post:
      operationId: rangeQuote
      tags:
      - Purchase
      security: []
      summary: Price a one-time purchase of a fixed date range.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                venue:
                  type: string
                  enum:
                  - polymarket
                  - predict
                  - all
                from:
                  type: string
                  format: date
                  description: UTC day, YYYY-MM-DD
                to:
                  type: string
                  format: date
                  description: UTC day, YYYY-MM-DD
                locale:
                  type: string
                  enum:
                  - en
                  - zh
                  default: en
                  description: Decides the currency (zh pays in CNY) and the return page
              required:
              - venue
      responses:
        '200':
          description: ok:true with the price, or ok:false with a code
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Bad venue
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/range-checkout:
    post:
      operationId: rangeCheckout
      tags:
      - Purchase
      security: []
      summary: Start a card checkout for a fixed date range
      x-requires-human-confirmation: true
      description: Spends money or credits. An agent must show the quote to the user and get explicit approval before calling this.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                venue:
                  type: string
                  enum:
                  - polymarket
                  - predict
                  - all
                from:
                  type: string
                  format: date
                  description: UTC day, YYYY-MM-DD
                to:
                  type: string
                  format: date
                  description: UTC day, YYYY-MM-DD
                locale:
                  type: string
                  enum:
                  - en
                  - zh
                  default: en
                  description: Decides the currency (zh pays in CNY) and the return page
              required:
              - venue
              - from
              - to
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutUrl'
        '400':
          description: Range refused
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/crypto-order:
    post:
      operationId: cryptoOrder
      tags:
      - Purchase
      security: []
      summary: Pay for a plan with USDT/USDC (one-time; priced in USD)
      x-requires-human-confirmation: true
      description: Spends money or credits. An agent must show the quote to the user and get explicit approval before calling this. Then poll GET /v1/public/crypto-order/{id} and claim the key with POST /v1/public/crypto-claim.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                planId:
                  type: string
                  pattern: ^[a-z0-9_]{1,64}$
                asset:
                  type: string
                  enum:
                  - USDT
                  - USDC
                  default: USDT
                apiKey:
                  type: string
                  description: Existing key to top up
              required:
              - planId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoOrder'
        '400':
          description: Bad plan or asset
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: apiKey not recognised
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Plan not available
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Plan cannot be combined with, or is narrower than, what that key holds
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/range-crypto-order:
    post:
      operationId: rangeCryptoOrder
      tags:
      - Purchase
      security: []
      summary: Pay for a fixed date range with USDT/USDC
      x-requires-human-confirmation: true
      description: Spends money or credits. An agent must show the quote to the user and get explicit approval before calling this.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                venue:
                  type: string
                  enum:
                  - polymarket
                  - predict
                  - all
                from:
                  type: string
                  format: date
                  description: UTC day, YYYY-MM-DD
                to:
                  type: string
                  format: date
                  description: UTC day, YYYY-MM-DD
                asset:
                  type: string
                  enum:
                  - USDT
                  - USDC
                  default: USDT
              required:
              - venue
              - from
              - to
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoOrder'
        '400':
          description: Range refused
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/crypto-order/{id}:
    get:
      operationId: cryptoOrderStatus
      tags:
      - Purchase
      security: []
      summary: A stablecoin order and its payment status
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          pattern: ^co_[0-9a-f]{18}$
        description: orderId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/CryptoOrder'
                - type: object
                  properties:
                    planId:
                      type: string
                    status:
                      type: string
                      description: pending, paid, expired, void
        '400':
          description: Bad order id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/crypto-claim:
    post:
      operationId: cryptoClaim
      tags:
      - Purchase
      security: []
      summary: 'After a stablecoin order is paid: the key it bought (shown once)'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                orderId:
                  type: string
                  pattern: ^co_[0-9a-f]{18}$
              required:
              - orderId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssuedKey'
        '202':
          description: Not paid yet; poll
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pending'
        '400':
          description: Bad order id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Key already issued
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '410':
          description: Order closed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/public/crypto-ack:
    post:
      operationId: cryptoAck
      tags:
      - Purchase
      security: []
      summary: Confirm the key from a stablecoin order is saved
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                orderId:
                  type: string
                  pattern: ^co_[0-9a-f]{18}$
              required:
              - orderId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  acked:
                    type: boolean
        '400':
          description: Bad order id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/backtest/checkout:
    post:
      operationId: backtestCreditsCheckout
      tags:
      - Purchase
      security: []
      summary: Buy a credit pack by card; returns a Stripe payment page URL
      x-requires-human-confirmation: true
      description: Spends money or credits. An agent must show the quote to the user and get explicit approval before calling this. Pass key to add the credits to an existing backtest key.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pack:
                  type: string
                  description: Pack id from /v1/backtest/packs
                locale:
                  type: string
                  enum:
                  - en
                  - zh
                  default: en
                  description: Decides the currency (zh pays in CNY) and the return page
                key:
                  type: string
                  description: Existing backtest key to top up
              required:
              - pack
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  url:
                    type: string
                    format: uri
                  session_id:
                    type: string
        '401':
          description: Backtest key not valid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown pack
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Account cannot be topped up here
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/backtest/claim-credits:
    post:
      operationId: backtestClaimCredits
      tags:
      - Purchase
      security: []
      summary: 'After a credit-pack card checkout: the backtest key (shown once) and balance'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                sessionId:
                  type: string
                  pattern: ^cs_[A-Za-z0-9_]{10,200}$
                  description: Stripe Checkout Session id from the success redirect
              required:
              - sessionId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '202':
          description: Not active yet; poll
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Pending'
        '400':
          description: Bad session id or not a credits checkout
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/backtest/crypto-order:
    post:
      operationId: backtestCreditsCryptoOrder
      tags:
      - Purchase
      security: []
      summary: Buy a credit pack with USDT/USDC
      x-requires-human-confirmation: true
      description: Spends money or credits. An agent must show the quote to the user and get explicit approval before calling this. Claim with POST /v1/public/crypto-claim once paid.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                pack:
                  type: string
                asset:
                  type: string
                  enum:
                  - USDT
                  - USDC
                  default: USDT
                key:
                  type: string
                  description: Existing backtest key to top up
              required:
              - pack
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptoOrder'
        '400':
          description: Unsupported asset
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Backtest key not valid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown pack
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited; retry after the Retry-After header
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: Temporarily unavailable; retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CryptoOrder:
      type: object
      description: Send exactly `amount` of `asset` on BNB Smart Chain (BEP-20) to `address` before `expiresMs`. The exact amount identifies the payment.
      properties:
        orderId:
          type: string
          pattern: ^co_[0-9a-f]{18}$
        asset:
          type: string
          enum:
          - USDT
          - USDC
        amount:
          type: string
          description: Exact amount to send, 6 decimals
        address:
          type: string
        expiresMs:
          type: integer
        ttlMs:
          type: integer
        usd:
          type: number
        qrSvg:
          type:
          - string
          - 'null'
        kind:
          type:
          - string
          - 'null'
        credits:
          type:
          - integer
          - 'null'
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
      additionalProperties: true
    Amounts:
      type: object
      description: Price in major units per currency the plan can be bought in.
      properties:
        usd:
          type: number
        cny:
          type: number
      additionalProperties: false
    PrepayOffer:
      type: object
      properties:
        planId:
          type: string
        venue:
          type: string
        months:
          type: integer
        days:
          type: integer
        usd:
          type: number
        amounts:
          $ref: '#/components/schemas/Amounts'
    IssuedKey:
      type: object
      description: Returned once. `key` is present only on the first successful claim; later claims say where it went.
      properties:
        key:
          type: string
          description: The plaintext key. Shown once.
        keyId:
          type: string
        alreadyIssued:
          type: boolean
        emailedTo:
          type: string
        topUp:
          type: boolean
        product:
          type: string
          enum:
          - data
          - smart
        tier:
          type: string
        venue:
          type: string
        dateScope:
          type: string
        expiresAt:
          type:
          - string
          - 'null'
          format: date-time
      additionalProperties: true
    Plan:
      type: object
      properties:
        planId:
          type: string
        tier:
          type: string
        venue:
          type: string
          enum:
          - polymarket
          - predict
          - all
        dateScope:
          type: string
          description: e.g. rolling-30, or full
        usd:
          type: number
        amounts:
          $ref: '#/components/schemas/Amounts'
        hasPass:
          type: boolean
          description: A one-time pass (no auto-renewal) is sold for this plan
        passUsd:
          type:
          - number
          - 'null'
        passAmounts:
          oneOf:
          - $ref: '#/components/schemas/Amounts'
          - type: 'null'
        interval:
          type: string
          description: Billing interval of the subscription
    Pending:
      type: object
      properties:
        pending:
          const: true
        reason:
          type: string
        status:
          type: string
    CheckoutUrl:
      type: object
      properties:
        url:
          type: string
          format: uri
          description: Stripe-hosted payment page; a person opens it
      required:
      - url
  securitySchemes:
    dataKey:
      type: http
      scheme: bearer
      description: Data (or smart-money) subscription key, ck_….
    dataKeyQuery:
      type: apiKey
      in: query
      name: api_key
      description: Only on /v1/dl/{date}/{name}
    backtestKey:
      type: http
      scheme: bearer
      description: Backtest key. X-Backtest-Key header also accepted.
externalDocs:
  url: https://outcometick.com/llms-full.txt