PerpFinder Costs API

Execution cost: fee, half-spread and price impact, live and stored.

GitHub OpenAPI

Operations 3

GET /api/data/slippage Live perp execution-cost ladder from order books and supported oracle/pool… #
GET /api/data/slippage-spot Live spot execution-cost ladder using venue order books, pair-specific fees… #
GET /api/data/cost-history Execution-cost history by methodology version. #

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/perpfinder-com:perpfinder-com-costs-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

perpfinder-com-costs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PerpFinder Public Data Costs API
  version: 1.0.0
  description: 'Free, keyless, CORS-open crypto-derivatives data: perp volume, open interest, funding rates, options/IV, volume quality, fees. Missing values are null, never 0. Attribution requested: "Data: PerpFinder" linking to perpfinder.com. Rate limits: 30–60 req/min per IP depending on endpoint.'
  termsOfService: https://perpfinder.com/terms
  contact:
    url: https://perpfinder.com/docs/api
  license:
    name: PerpFinder data-use terms
    url: https://perpfinder.com/terms
servers:
- url: https://perpfinder.com
security: []
tags:
- name: Costs
  description: 'Execution cost: fee, half-spread and price impact, live and stored.'
paths:
  /api/data/slippage:
    get:
      operationId: getApiDataSlippage
      tags:
      - Costs
      summary: Live perp execution-cost ladder from order books and supported oracle/pool…
      description: 'Stable public dataset. Key response fields: asset, sizeUsd, side, results[].{exchange,feeBps,feeBpsMin,feeBpsMax,feeModel,slippageBps,halfSpreadBps,spreadBps,totalBps,midPrice,vwap,sufficient,fillStatus,depthFetchedUsd,depthConfidence,depthConfidenceReason,rankingEligible,partial,quoteStatus,maxExecutableSizeUsd}, coverage, referenceMidSource, meta, dataStatus, generatedAt, schemaVersion, sources, ETag'
      parameters:
      - name: asset
        in: query
        required: false
        schema:
          type: string
          example: BTC
        description: 'Example: BTC'
      - name: size
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          example: 100000
        description: 'Example: 100000'
      - name: feeType
        in: query
        required: false
        schema:
          type: string
          enum:
          - taker
          - maker
          example: taker
        description: 'Example: taker|maker'
      - name: side
        in: query
        required: false
        schema:
          type: string
          enum:
          - buy
          - sell
          example: buy
        description: 'Example: buy|sell'
      responses:
        '200':
          description: 'JSON. Key fields: asset, sizeUsd, side, results[].{exchange,feeBps,feeBpsMin,feeBpsMax,feeModel,slippageBps,halfSpreadBps,spreadBps,totalBps,midPrice,vwap,sufficient,fillStatus,depthFetchedUsd,depthConfidence,depthConfidenceReason,rankingEligible,partial,quoteStatus,maxExecutableSizeUsd}, coverage, referenceMidSource, meta, dataStatus, generatedAt, schemaVersion, sources, ETag. Missing values are null, never 0.'
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid or unsupported query parameter.
        '429':
          description: Rate limited — respect Retry-After.
        '503':
          description: No trustworthy fresh or stale upstream data was available.
  /api/data/slippage-spot:
    get:
      operationId: getApiDataSlippageSpot
      tags:
      - Costs
      summary: Live spot execution-cost ladder using venue order books, pair-specific fees…
      description: 'Stable public dataset. Key response fields: asset, sizeUsd, side, results[].{exchange,baseAsset,quoteAsset,feeBps,slippageBps,halfSpreadBps,spreadBps,totalBps,midPrice,vwap,sufficient,fillStatus,depthFetchedUsd,depthConfidence,depthConfidenceReason,partial}, coverage, meta, dataStatus, generatedAt, schemaVersion, sources, ETag'
      parameters:
      - name: asset
        in: query
        required: false
        schema:
          type: string
          example: BTC
        description: 'Example: BTC'
      - name: size
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          example: 10000
        description: 'Example: 10000'
      - name: feeType
        in: query
        required: false
        schema:
          type: string
          enum:
          - taker
          - maker
          example: taker
        description: 'Example: taker|maker'
      - name: side
        in: query
        required: false
        schema:
          type: string
          enum:
          - buy
          - sell
          example: buy
        description: 'Example: buy|sell'
      responses:
        '200':
          description: 'JSON. Key fields: asset, sizeUsd, side, results[].{exchange,baseAsset,quoteAsset,feeBps,slippageBps,halfSpreadBps,spreadBps,totalBps,midPrice,vwap,sufficient,fillStatus,depthFetchedUsd,depthConfidence,depthConfidenceReason,partial}, coverage, meta, dataStatus, generatedAt, schemaVersion, sources, ETag. Missing values are null, never 0.'
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid or unsupported query parameter.
        '429':
          description: Rate limited — respect Retry-After.
        '503':
          description: No trustworthy fresh or stale upstream data was available.
  /api/data/cost-history:
    get:
      operationId: getApiDataCostHistory
      tags:
      - Costs
      summary: Execution-cost history by methodology version.
      description: 'Stable public dataset. Key response fields: series[].{attemptId,ingestedAt,collectedAt,methodologyVersion,versionBoundary,side,feeType,feeTierAssumption,engineDataStatus,coverage,venues[].{halfSpreadBps,priceImpactBps,quoteStatus,slippageModel,executionModel,fillStatus,depthConfidence,depthFetchedUsd}}, lastSampleAgeMinutes, collectorStale, selectionMode, methodologySelectionNote, activeMethodologyMinDays, selectedMethodologyVersions, availableMethodologyVersions, versionBoundaries, globalDatasetStart, datasetStart, maturity, maturityByMethodology, venueCoverage, updatedAt, generatedAt'
      parameters:
      - name: market
        in: query
        required: false
        schema:
          type: string
          example: perp
        description: 'Example: perp'
      - name: asset
        in: query
        required: false
        schema:
          type: string
          example: BTC
        description: 'Example: BTC'
      - name: size
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          example: 100000
        description: 'Example: 100000'
      - name: days
        in: query
        required: false
        schema:
          type: string
          enum:
          - '7'
          - all
          example: '7'
        description: 'Example: 7|all'
      - name: endDate
        in: query
        required: false
        schema:
          type: string
          example: YYYY-MM-DD
        description: 'Example: YYYY-MM-DD'
      - name: methodologyVersion
        in: query
        required: false
        schema:
          type: string
          enum:
          - '1'
          - '2'
          - '3'
          - '4'
          - '5'
          - '6'
          - '7'
          - '8'
          - active
          - all
          example: '1'
        description: 'Example: 1|2|3|4|5|6|7|8|active|all'
      - name: venue
        in: query
        required: false
        schema:
          type: string
      - name: format
        in: query
        required: false
        schema:
          type: string
          enum:
          - json
          - csv
          example: json
        description: 'Example: json|csv'
      responses:
        '200':
          description: 'JSON. Key fields: series[].{attemptId,ingestedAt,collectedAt,methodologyVersion,versionBoundary,side,feeType,feeTierAssumption,engineDataStatus,coverage,venues[].{halfSpreadBps,priceImpactBps,quoteStatus,slippageModel,executionModel,fillStatus,depthConfidence,depthFetchedUsd}}, lastSampleAgeMinutes, collectorStale, selectionMode, methodologySelectionNote, activeMethodologyMinDays, selectedMethodologyVersions, availableMethodologyVersions, versionBoundaries, globalDatasetStart, datasetStart, maturity, maturityByMethodology, venueCoverage, updatedAt, generatedAt. Missing values are null, never 0.'
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Invalid or unsupported query parameter.
        '429':
          description: Rate limited — respect Retry-After.
        '503':
          description: No trustworthy fresh or stale upstream data was available.
externalDocs:
  description: PerpFinder API documentation
  url: https://perpfinder.com/docs/api
x-ai-discovery:
  llms: https://perpfinder.com/llms.txt
  fullCatalogue: https://perpfinder.com/llms-full.txt
  manifest: https://perpfinder.com/api-manifest
  definitions: https://perpfinder.com/data-definitions