# DEX Screener — Get one or multiple pairs by chain and pair address

Get DEX Screener Pair Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DexScreener, configure supported query parameters and filters, and retrieve structured data including trading-pair or pool address, DEX Screener chain slug, base-asset metadata, quote-asset metadata, and reported USD price to inspect selected pools, and compare market records.

Documentation: https://openany.si/dexscreener/dexscreener-dex-screener-get-one-or-multiple-pairs-by-chain-and-pair-address/f870bcb7-df3f-44b8-85d9-1dba84d9bb01/
API ID: f870bcb7-df3f-44b8-85d9-1dba84d9bb01
Provider: DexScreener
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/pairs/{chainId}/{pairId}
Page update time: 2026-12-03T02:44:17.561Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:44:16.589Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## DEX Screener Pair Details API

chainId and pairId are required path inputs. Get pairAddress from Pair Search or a token-pool response and use the matching chainId.

## What You Can Build

- **Inspect selected pools**: Keep chainId with pairAddress.
- **Compare market records**: Retain baseToken and quoteToken identities.

## Returned Data

| Field | Meaning |
| --- | --- |
| `pairs[].pairAddress` | Trading-pair or pool address |
| `pairs[].chainId` | DEX Screener chain slug |
| `pairs[].baseToken` | Base-asset metadata |
| `pairs[].quoteToken` | Quote-asset metadata |
| `pairs[].priceUsd` | Reported USD price |
| `pairs[].liquidity` | Reported liquidity metadata |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DEX Screener — Get one or multiple pairs by chain and pair address request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "chainId": {
          "type": "string",
          "description": "DEX Screener chain slug, such as solana or ethereum. Use the chainId returned by a pair or token-profile response; do not pass a numeric EVM chain ID.",
          "minLength": 1
        },
        "pairId": {
          "type": "string",
          "description": "DEX pair or liquidity-pool address on the selected chain. Obtain pairAddress from search or token-pairs results; a token mint address is not a pair address.",
          "minLength": 1
        }
      },
      "required": [
        "chainId",
        "pairId"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "pair": {
      "type": "object",
      "properties": {
        "baseToken": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "symbol": {
              "type": "string"
            }
          }
        },
        "chainId": {
          "type": "string"
        },
        "dexId": {
          "type": "string"
        },
        "fdv": {
          "type": "integer"
        },
        "info": {
          "type": "object",
          "properties": {
            "header": {
              "type": "string"
            },
            "imageUrl": {
              "type": "string"
            },
            "openGraph": {
              "type": "string"
            },
            "socials": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              }
            },
            "websites": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "label": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "liquidity": {
          "type": "object",
          "properties": {
            "base": {
              "type": "integer"
            },
            "quote": {
              "type": "integer"
            },
            "usd": {
              "type": "number"
            }
          }
        },
        "marketCap": {
          "type": "integer"
        },
        "pairAddress": {
          "type": "string"
        },
        "pairCreatedAt": {
          "type": "integer"
        },
        "priceChange": {
          "type": "object",
          "properties": {
            "h1": {
              "type": "number"
            },
            "h24": {
              "type": "number"
            },
            "h6": {
              "type": "number"
            },
            "m5": {
              "type": "number"
            }
          }
        },
        "priceNative": {
          "type": "string"
        },
        "priceUsd": {
          "type": "string"
        },
        "quoteToken": {
          "type": "object",
          "properties": {
            "address": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "symbol": {
              "type": "string"
            }
          }
        },
        "txns": {
          "type": "object",
          "properties": {
            "h1": {
              "type": "object",
              "properties": {
                "buys": {
                  "type": "integer"
                },
                "sells": {
                  "type": "integer"
                }
              }
            },
            "h24": {
              "type": "object",
              "properties": {
                "buys": {
                  "type": "integer"
                },
                "sells": {
                  "type": "integer"
                }
              }
            },
            "h6": {
              "type": "object",
              "properties": {
                "buys": {
                  "type": "integer"
                },
                "sells": {
                  "type": "integer"
                }
              }
            },
            "m5": {
              "type": "object",
              "properties": {
                "buys": {
                  "type": "integer"
                },
                "sells": {
                  "type": "integer"
                }
              }
            }
          }
        },
        "url": {
          "type": "string"
        },
        "volume": {
          "type": "object",
          "properties": {
            "h1": {
              "type": "number"
            },
            "h24": {
              "type": "number"
            },
            "h6": {
              "type": "number"
            },
            "m5": {
              "type": "number"
            }
          }
        }
      }
    },
    "pairs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "baseToken": {
            "type": "object",
            "properties": {
              "address": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "symbol": {
                "type": "string"
              }
            }
          },
          "chainId": {
            "type": "string"
          },
          "dexId": {
            "type": "string"
          },
          "fdv": {
            "type": "integer"
          },
          "info": {
            "type": "object",
            "properties": {
              "header": {
                "type": "string"
              },
              "imageUrl": {
                "type": "string"
              },
              "openGraph": {
                "type": "string"
              },
              "socials": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  }
                }
              },
              "websites": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "label": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "liquidity": {
            "type": "object",
            "properties": {
              "base": {
                "type": "integer"
              },
              "quote": {
                "type": "integer"
              },
              "usd": {
                "type": "number"
              }
            }
          },
          "marketCap": {
            "type": "integer"
          },
          "pairAddress": {
            "type": "string"
          },
          "pairCreatedAt": {
            "type": "integer"
          },
          "priceChange": {
            "type": "object",
            "properties": {
              "h1": {
                "type": "number"
              },
              "h24": {
                "type": "number"
              },
              "h6": {
                "type": "number"
              },
              "m5": {
                "type": "number"
              }
            }
          },
          "priceNative": {
            "type": "string"
          },
          "priceUsd": {
            "type": "string"
          },
          "quoteToken": {
            "type": "object",
            "properties": {
              "address": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "symbol": {
                "type": "string"
              }
            }
          },
          "txns": {
            "type": "object",
            "properties": {
              "h1": {
                "type": "object",
                "properties": {
                  "buys": {
                    "type": "integer"
                  },
                  "sells": {
                    "type": "integer"
                  }
                }
              },
              "h24": {
                "type": "object",
                "properties": {
                  "buys": {
                    "type": "integer"
                  },
                  "sells": {
                    "type": "integer"
                  }
                }
              },
              "h6": {
                "type": "object",
                "properties": {
                  "buys": {
                    "type": "integer"
                  },
                  "sells": {
                    "type": "integer"
                  }
                }
              },
              "m5": {
                "type": "object",
                "properties": {
                  "buys": {
                    "type": "integer"
                  },
                  "sells": {
                    "type": "integer"
                  }
                }
              }
            }
          },
          "url": {
            "type": "string"
          },
          "volume": {
            "type": "object",
            "properties": {
              "h1": {
                "type": "number"
              },
              "h24": {
                "type": "number"
              },
              "h6": {
                "type": "number"
              },
              "m5": {
                "type": "number"
              }
            }
          }
        }
      }
    },
    "schemaVersion": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/dexscreener/latest/dex/pairs/solana/Ak7hDCxDSocD2ZgJBCa1ZwLcuDQz5F6n747a7rQtpXE3' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "pair": {
    "baseToken": {
      "address": "8wxkvAfEns76yBzu4MnbV7VnXWjg3iDPA9uwAQ6cpump",
      "name": "SolAngeles",
      "symbol": "SOLANGELES"
    },
    "chainId": "solana",
    "dexId": "pumpswap",
    "fdv": 480742,
    "info": {
      "header": "https://cdn.dexscreener.com/cms/images/p_XpQAIaJT3sGAPo?width=1500&height=500&quality=95&format=auto",
      "imageUrl": "https://cdn.dexscreener.com/cms/images/pi8udfIf51qcX95D?width=800&height=800&quality=95&format=auto",
      "openGraph": "https://cdn.dexscreener.com/token-images/og/solana/8wxkvAfEns76yBzu4MnbV7VnXWjg3iDPA9uwAQ6cpump?timestamp=1793331900000",
      "socials": [
        {
          "type": "twitter",
          "url": "https://x.com/solangelestv"
        }
      ],
      "websites": [
        {
          "label": "Website",
          "url": "https://solangeles.fun"
        }
      ]
    },
    "liquidity": {
      "base": 107314652,
      "quote": 51088,
      "usd": 102742.79
    },
    "marketCap": 480742,
    "pairAddress": "Ak7hDCxDSocD2ZgJBCa1ZwLcuDQz5F6n747a7rQtpXE3",
    "pairCreatedAt": 1779397336000,
    "priceChange": {
      "h1": 1.05,
      "h24": -0.61,
      "h6": 3.9,
      "m5": 0.1
    },
    "priceNative": "0.0004813",
    "priceUsd": "0.0004813",
    "quoteToken": {
      "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "name": "USD Coin",
      "symbol": "USDC"
    },
    "txns": {
      "h1": {
        "buys": 7,
        "sells": 0
      },
      "h24": {
        "buys": 58,
        "sells": 113
      },
      "h6": {
        "buys": 34,
        "sells": 59
      },
      "m5": {
        "buys": 6,
        "sells": 0
      }
    },
    "url": "https://dexscreener.com/solana/ak7hdcxdsocd2zgjbca1zwlcudqz5f6n747a7rqtpxe3",
    "volume": {
      "h1": 30.74,
      "h24": 7711.18,
      "h6": 5168.65,
      "m5": 30.39
    }
  },
  "pairs": [
    {
      "baseToken": {
        "address": "8wxkvAfEns76yBzu4MnbV7VnXWjg3iDPA9uwAQ6cpump",
        "name": "SolAngeles",
        "symbol": "SOLANGELES"
      },
      "chainId": "solana",
      "dexId": "pumpswap",
      "fdv": 480742,
      "info": {
        "header": "https://cdn.dexscreener.com/cms/images/p_XpQAIaJT3sGAPo?width=1500&height=500&quality=95&format=auto",
        "imageUrl": "https://cdn.dexscreener.com/cms/images/pi8udfIf51qcX95D?width=800&height=800&quality=95&format=auto",
        "openGraph": "https://cdn.dexscreener.com/token-images/og/solana/8wxkvAfEns76yBzu4MnbV7VnXWjg3iDPA9uwAQ6cpump?timestamp=1793331900000",
        "socials": [
          {
            "type": "twitter",
            "url": "https://x.com/solangelestv"
          }
        ],
        "websites": [
          {
            "label": "Website",
            "url": "https://solangeles.fun"
          }
        ]
      },
      "liquidity": {
        "base": 107314652,
        "quote": 51088,
        "usd": 102742.79
      },
      "marketCap": 480742,
      "pairAddress": "Ak7hDCxDSocD2ZgJBCa1ZwLcuDQz5F6n747a7rQtpXE3",
      "pairCreatedAt": 1779397336000,
      "priceChange": {
        "h1": 1.05,
        "h24": -0.61,
        "h6": 3.9,
        "m5": 0.1
      },
      "priceNative": "0.0004813",
      "priceUsd": "0.0004813",
      "quoteToken": {
        "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "name": "USD Coin",
        "symbol": "USDC"
      },
      "txns": {
        "h1": {
          "buys": 7,
          "sells": 0
        },
        "h24": {
          "buys": 58,
          "sells": 113
        },
        "h6": {
          "buys": 34,
          "sells": 59
        },
        "m5": {
          "buys": 6,
          "sells": 0
        }
      },
      "url": "https://dexscreener.com/solana/ak7hdcxdsocd2zgjbca1zwlcudqz5f6n747a7rqtpxe3",
      "volume": {
        "h1": 30.74,
        "h24": 7711.18,
        "h6": 5168.65,
        "m5": 30.39
      }
    }
  ],
  "schemaVersion": "1.0.0"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What does chainId mean here?
Use the DEX Screener chain slug, such as solana or ethereum, rather than a numeric EVM chain ID.

### Are token and pair addresses interchangeable?
No. A token mint or contract identifies an asset; pairAddress identifies a liquidity pool or trading pair.

### Where do I find a pair address?
Use pairAddress from Pair Search or a token-pool result.

### Can an asset trade in several pools?
Yes. Inspect each returned pair rather than assuming one token maps to one market.

### Does this execute a swap?
No. It is a market-data lookup.

### Are these values a guaranteed trade quote?
No. They are reported market or platform metadata, not a signed or executable trade.

## Available implementations
- DexScreener: https://openany.si/dexscreener/dexscreener-dex-screener-get-one-or-multiple-pairs-by-chain-and-pair-address/f870bcb7-df3f-44b8-85d9-1dba84d9bb01/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
