Oh Fax Quotes API

The Quotes API from Oh Fax — 1 operation(s) for quotes.

GitHub OpenAPI

Operations 1

POST /api/v1/quotes Returns the price ($2 by card; 2¢/page balance or stablecoin) and a quote_id… #

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/ohfax-com:ohfax-com-quotes-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

ohfax-com-quotes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oh Fax Quotes API
  version: 0.2.0
  description: Outbound fax to US and Canada numbers. Faxes are sent over Telnyx's carrier-grade network; payments are processed by Stripe.
servers:
- url: https://app.ohfax.com
tags:
- name: Quotes
paths:
  /api/v1/quotes:
    post:
      summary: Returns the price ($2 by card; 2¢/page balance or stablecoin) and a quote_id…
      security: []
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                to:
                  type: string
                  description: US/Canada destination number
                file:
                  type: string
                  format: binary
                  description: PDF, maximum 25 MB and 100 pages
              required:
              - to
              - file
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  quote_id:
                    type: string
                  to:
                    type: string
                  to_display:
                    type: string
                  pages:
                    type: integer
                  amount:
                    type: string
                  amount_cents:
                    type: integer
                  prices:
                    type: object
                    properties:
                      card:
                        type: object
                        properties:
                          amount:
                            type: string
                          amount_cents:
                            type: integer
                        required:
                        - amount
                        - amount_cents
                      balance:
                        type: object
                        properties:
                          amount:
                            type: string
                          amount_cents:
                            type: integer
                        required:
                        - amount
                        - amount_cents
                      stablecoin:
                        type: object
                        properties:
                          amount:
                            type: string
                          amount_cents:
                            type: integer
                        required:
                        - amount
                        - amount_cents
                    required:
                    - card
                    - balance
                    - stablecoin
                  breakdown:
                    type: object
                    properties:
                      included_pages:
                        type: integer
                      base_cents:
                        type: integer
                      extra_pages:
                        type: integer
                      per_extra_page_cents:
                        type: integer
                      extra_cents:
                        type: integer
                    required:
                    - included_pages
                    - base_cents
                    - extra_pages
                    - per_extra_page_cents
                    - extra_cents
                  currency:
                    type: string
                  expires_at:
                    type: integer
                  payment_link:
                    type: string
                  checkout_url:
                    type: string
                  next_step:
                    type: string
                    example: Open checkout_url and pay by card.
                  line_type:
                    type:
                    - string
                    - 'null'
                    enum:
                    - landline
                    - mobile
                    - voip
                    - landline_or_mobile
                    - toll_free
                    - other
                    - unknown
                    - null
                    description: Carrier line type of the destination; null when the lookup was skipped or failed.
                  warnings:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                          - pages_too_large
                          - mobile_number
                        field:
                          type: string
                          enum:
                          - document
                          - to
                        message:
                          type: string
                      required:
                      - code
                      - field
                      - message
                  warning:
                    type:
                    - string
                    - 'null'
                    description: All warnings joined into one sentence string (page size first). Show it to the person before they pay.
                required:
                - quote_id
                - to
                - to_display
                - pages
                - amount
                - amount_cents
                - prices
                - breakdown
                - currency
                - expires_at
                - payment_link
                - checkout_url
                - next_step
        '400':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
        '413':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
      tags:
      - Quotes
      operationId: postApiV1Quotes
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerApiKey:
      type: http
      scheme: bearer
      description: Oh Fax prepaid API key
    sessionCookie:
      type: apiKey
      in: cookie
      name: afx_session
      description: Google-login session issued by /auth/google/callback
    resendCookie:
      type: apiKey
      in: cookie
      name: ofx_resend
      description: Per-fax resend secret, set when the payer lands on the Checkout success page
x-service-info:
  docs:
    homepage: https://ohfax.com
    apiReference: https://ohfax.com/docs/api
    llms: https://ohfax.com/llms.txt