changedInput schema / examples
Previous value: -[
- {
- "chain": "ethereum",
- "pair_address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
- },
- {
- "chain": "solana",
- "pair_address": "8BnEgHoWFysVcuFFX7QztDmzuH5B27Cs64meL2LjwGs"
- }
-]New value: +[
+ {
+ "chain": "ethereum",
+ "pair_address": "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
+ },
+ {
+ "chain": "solana",
+ "pair_address": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2"
+ }
+]
changedOutput schema / description
Previous value: -"Pair detail response from DEX Screener API"New value: +"Pair detail for one pair address on one chain"
addedOutput schema / properties / chain
Added value: +{
+ "description": "Chain id that was queried",
+ "type": "string"
+}
removedOutput schema / properties / pair
Removed value: -{
- "description": "Pair information including price, liquidity, and volume",
- "properties": {
- "baseToken": {
- "description": "Base token details",
- "properties": {
- "address": {
- "description": "Token contract address",
- "type": "string"
- },
- "name": {
- "description": "Token name",
- "type": "string"
- },
- "symbol": {
- "description": "Token symbol",
- "type": "string"
- }
- },
- "type": "object"
- },
- "chainId": {
- "description": "Chain identifier",
- "type": "string"
- },
- "dexId": {
- "description": "DEX identifier",
- "type": "string"
- },
- "fdv": {
- "description": "Fully diluted valuation",
- "type": [
- "number",
- "null"
- ]
- },
- "liquidity": {
- "description": "Liquidity data",
- "properties": {
- "base": {
- "description": "Base token liquidity",
- "type": [
- "number",
- "null"
- ]
- },
- "quote": {
- "description": "Quote token liquidity",
- "type": [
- "number",
- "null"
- ]
- },
- "usd": {
- "description": "Total liquidity in USD",
- "type": [
- "number",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "marketCap": {
- "description": "Market capitalization",
- "type": [
- "number",
- "null"
- ]
- },
- "pairAddress": {
- "description": "Pair/pool contract address",
- "type": "string"
- },
- "priceNative": {
- "description": "Price in native token",
- "type": "string"
- },
- "priceUsd": {
- "description": "Price in USD",
- "type": "string"
- },
- "quoteToken": {
- "description": "Quote token details",
- "properties": {
- "address": {
- "description": "Token contract address",
- "type": "string"
- },
- "name": {
- "description": "Token name",
- "type": "string"
- },
- "symbol": {
- "description": "Token symbol",
- "type": "string"
- }
- },
- "type": "object"
- },
- "txns": {
- "description": "Transaction counts",
- "properties": {
- "h1": {
- "type": "object"
- },
- "h24": {
- "type": "object"
- },
- "h6": {
- "type": "object"
- },
- "m5": {
- "type": "object"
- }
- },
- "type": "object"
- },
- "url": {
- "description": "URL to pair on DEX Screener",
- "type": "string"
- },
- "volume": {
- "description": "Volume data",
- "properties": {
- "h24": {
- "description": "24-hour volume in USD",
- "type": [
- "number",
- "null"
- ]
- }
- },
- "type": "object"
- }
- },
- "type": "object"
-}
addedOutput schema / properties / pair_address
Added value: +{
+ "description": "Pair address that was queried",
+ "type": "string"
+}
addedOutput schema / properties / pair_count
Added value: +{
+ "description": "Number of pairs returned (>=1; an empty result raises not_found)",
+ "type": "number"
+}
addedOutput schema / properties / pairs
Added value: +{
+ "description": "Matching pairs",
+ "items": {
+ "properties": {
+ "baseToken": {
+ "description": "Base token address/name/symbol",
+ "type": "object"
+ },
+ "chainId": {
+ "description": "Chain identifier",
+ "type": "string"
+ },
+ "dexId": {
+ "description": "DEX identifier",
+ "type": "string"
+ },
+ "fdv": {
+ "description": "Fully diluted valuation",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "liquidity": {
+ "description": "Liquidity in USD and both tokens",
+ "type": "object"
+ },
+ "marketCap": {
+ "description": "Market capitalisation",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "pairAddress": {
+ "description": "Pair/pool contract address",
+ "type": "string"
+ },
+ "priceNative": {
+ "description": "Price in the quote token",
+ "type": "string"
+ },
+ "priceUsd": {
+ "description": "Price in USD",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "quoteToken": {
+ "description": "Quote token address/name/symbol",
+ "type": "object"
+ },
+ "txns": {
+ "description": "Buy/sell counts over m5/h1/h6/h24",
+ "type": "object"
+ },
+ "url": {
+ "description": "URL to pair on DEX Screener",
+ "type": "string"
+ },
+ "volume": {
+ "description": "Volume over m5/h1/h6/h24",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / required
Added value: +[
+ "chain",
+ "pair_address",
+ "pair_count",
+ "pairs"
+]