{
  "openapi": "3.0.1",
  "info": {
    "title": "DexScreener Scraper: Pools, Tokens, Risk Screen",
    "description": "Scrape DexScreener data on decentralized exchanges across 80+ blockchains. Get price, volume, liquidity, market cap, trades, buy pressure, pool age, social links and a rule based risk screen for pools and tokens, with all pools of a token combined. Export to CSV or Excel.",
    "version": "1.0",
    "x-build-id": "dx2S9X8BFTTAcRPHq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parselab~dexscreener-dex-pairs-tokens-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parselab-dexscreener-dex-pairs-tokens-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/parselab~dexscreener-dex-pairs-tokens-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parselab-dexscreener-dex-pairs-tokens-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/parselab~dexscreener-dex-pairs-tokens-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parselab-dexscreener-dex-pairs-tokens-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",
        "properties": {
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000."
          },
          "mode": {
            "title": "What to collect",
            "enum": [
              "pairs",
              "tokens",
              "discover"
            ],
            "type": "string",
            "description": "Pools returns one row per trading pool found by your search words. Tokens returns one row per token with all its pools added up. Discover reads the lists of boosted and newly listed tokens and adds the market data of each.",
            "default": "pairs"
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Pools mode. A token name or symbol, a token address, a pool address or a pair such as SOL/USDC. Each term returns up to 30 pools, so use several terms to cover more.",
            "items": {
              "type": "string"
            }
          },
          "tokenAddresses": {
            "title": "Token addresses",
            "type": "array",
            "description": "Tokens mode. Write each as chain:address, for example solana:So11111111111111111111111111111111111111112 or ethereum:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48.",
            "items": {
              "type": "string"
            }
          },
          "defaultChain": {
            "title": "Default chain",
            "type": "string",
            "description": "Tokens mode. Chain used for addresses written without a chain, for example solana, ethereum, base or bsc."
          },
          "discoverList": {
            "title": "List to read",
            "enum": [
              "topBoosts",
              "latestBoosts",
              "latestProfiles",
              "communityTakeovers"
            ],
            "type": "string",
            "description": "Discover mode. Tokens with the most paid boosts, the latest boosts, the latest token profiles, or the latest community takeovers.",
            "default": "topBoosts"
          },
          "chains": {
            "title": "Chains",
            "type": "array",
            "description": "Keep only these chains, for example solana, ethereum, base, bsc, arbitrum, polygon.",
            "items": {
              "type": "string"
            }
          },
          "dexes": {
            "title": "Exchanges",
            "type": "array",
            "description": "Keep only these exchanges, for example raydium, uniswap, pancakeswap, pumpswap.",
            "items": {
              "type": "string"
            }
          },
          "quoteSymbols": {
            "title": "Quote tokens",
            "type": "array",
            "description": "Keep only pools quoted in these tokens, for example USDC, SOL, WETH, USDT.",
            "items": {
              "type": "string"
            }
          },
          "minLiquidityUsd": {
            "title": "Minimum liquidity (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep pools or tokens with at least this much liquidity."
          },
          "minVolume24hUsd": {
            "title": "Minimum 24h volume (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep pools or tokens that traded at least this much in the last 24 hours."
          },
          "minMarketCapUsd": {
            "title": "Minimum market cap (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Uses the fully diluted valuation when the market cap is not listed."
          },
          "maxMarketCapUsd": {
            "title": "Maximum market cap (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Useful to find small tokens early."
          },
          "minAgeHours": {
            "title": "Minimum age (hours)",
            "minimum": 0,
            "type": "number",
            "description": "Keep pools at least this old."
          },
          "maxAgeHours": {
            "title": "Maximum age (hours)",
            "minimum": 0,
            "type": "number",
            "description": "Keep pools no older than this, for example 24 for the newest pools."
          },
          "minTxns24h": {
            "title": "Minimum trades in 24h",
            "minimum": 0,
            "type": "integer",
            "description": "Keep pools with at least this many buys and sells in 24 hours."
          },
          "minPriceChange24hPct": {
            "title": "Minimum price change 24h (%)",
            "type": "number",
            "description": "Keep pools whose price rose at least this percent. Use a negative number to include drops."
          },
          "requireSocials": {
            "title": "Only with website or social links",
            "type": "boolean",
            "description": "Keep only tokens that list a website, X or Telegram.",
            "default": false
          },
          "hideHighRisk": {
            "title": "Hide high risk",
            "type": "boolean",
            "description": "Drop rows that the rule based screen marks as high risk, such as very thin liquidity.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "volume24h",
              "liquidity",
              "marketCap",
              "priceChange24h",
              "txns24h",
              "newest",
              "buyPressure"
            ],
            "type": "string",
            "description": "Order of the rows, largest first.",
            "default": "volume24h"
          },
          "includePools": {
            "title": "Add top pools to token rows",
            "type": "boolean",
            "description": "Tokens and discover modes. Adds the five deepest pools of each token as a list.",
            "default": true
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}