{
  "openapi": "3.0.1",
  "info": {
    "title": "DexScreener Token Pairs Scraper — Multi-Chain DEX Export",
    "description": "Bulk lookup of token contract addresses to every live DEX pair on DexScreener — price USD, liquidity, FDV, market cap, 24h volume, transactions, price change. Multi-chain auto-discovery (Solana, Ethereum, Base, BSC + 30 more). Batched 30 addresses/request. No API key.",
    "version": "1.0",
    "x-build-id": "8WLQ4AZemO9dR9vTj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/logiover~dexscreener-token-pairs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-logiover-dexscreener-token-pairs-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/logiover~dexscreener-token-pairs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-logiover-dexscreener-token-pairs-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/logiover~dexscreener-token-pairs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-logiover-dexscreener-token-pairs-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "tokenAddresses"
        ],
        "properties": {
          "tokenAddresses": {
            "title": "Token Addresses",
            "type": "array",
            "description": "List of token contract addresses to look up on DexScreener. Accepts EVM addresses (0x...), Solana addresses (base58), and any other supported chain. Mix chains freely — addresses are dispatched against the multi-chain endpoint that returns ALL pairs for each token across every supported chain (Solana, Ethereum, Base, BSC, Polygon, Arbitrum, Avalanche, etc.). Examples: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2' (WETH), 'So11111111111111111111111111111111111111112' (WSOL), '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' (USDC on Base).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "chainId": {
            "title": "Chain ID (optional, enables batched API)",
            "type": "string",
            "description": "Optional. If you provide a chain ID AND all addresses belong to that chain, the scraper uses the batched endpoint (up to 30 addresses per request — much faster). Accepted values: 'solana', 'ethereum', 'bsc', 'polygon', 'base', 'arbitrum', 'avalanche', 'fantom', 'optimism', 'pulsechain', 'sui', 'ton', 'tron', 'cronos', 'hyperevm', 'monad', 'sonic', and any other DexScreener-supported chain. Leave empty for multi-chain auto-discovery (one request per token).",
            "default": ""
          },
          "minLiquidityUsd": {
            "title": "Minimum Liquidity (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Exclude pairs with USD liquidity below this threshold. Useful to filter out illiquid/abandoned pairs. Example: 1000 to skip pairs below $1k liquidity, 10000 for $10k. Set 0 to include all pairs.",
            "default": 0
          },
          "minVolume24hUsd": {
            "title": "Minimum 24h Volume (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Exclude pairs with 24-hour USD volume below this threshold. Helps focus on actively traded pairs. Example: 1000 to drop dead pairs, 100000 to keep only high-volume pairs.",
            "default": 0
          },
          "onlyDexes": {
            "title": "Only Include These DEXes",
            "type": "array",
            "description": "Optional whitelist of DEX IDs. Only pairs from these DEXes will be saved. Examples: 'uniswap', 'pancakeswap', 'raydium', 'pumpswap', 'meteora', 'orca', 'aerodrome', 'quickswap', 'sushiswap', 'curve'. Leave empty to include all DEXes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyChains": {
            "title": "Only Include These Chains",
            "type": "array",
            "description": "Optional whitelist of chain IDs. Only pairs on these chains will be saved. Examples: 'solana', 'ethereum', 'base', 'bsc'. Leave empty to include all chains.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxPairsPerToken": {
            "title": "Max Pairs Per Token",
            "minimum": 0,
            "type": "integer",
            "description": "Cap the number of pairs saved per input token. After filtering, the top N pairs are kept sorted by liquidity (descending). Example: 1 to keep only the most liquid pair per token, 5 to keep the top 5. Set 0 for no cap.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of parallel API requests. DexScreener's public API allows up to 300 requests/minute for the tokens endpoint. Recommended: 5–15. Higher values may hit rate limits.",
            "default": 8
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}