Authentication
The Transpose Verified Endpoints suite can be accessed with any valid Transpose API key. To authenticate, simply include the case-insensitive X-API-KEY
request header with your API key as the value. It's that easy!
API Key
Before proceeding, we need to authenticate ourselves with Transpose. To access any Transpose API, you'll need an API key. All API requests should include your API key in an X-API-KEY
header. If you haven't already, you'll need to sign up and create a team (for free!). Once you have a team, you can find a list of your API keys in your team dashboard. When you have your API key, replace <YOUR-API-KEY>
in the interactive examples below with your key.
Remember not to share your API key! Your API key is a secret, and should not be stored or exposed in a public manner.
Basic Example
curl -X GET \
'https://api.transpose.io/block/blocks-by-number?chain_id=ethereum&order=desc&limit=1' \
-H 'X-API-KEY: BtRVYj7dgnYUcr1gSSfWhmrTShIb8RBG' \
Got questions? Join our Discord
Discord is the primary home of the Transpose developer community. Join us to ask questions, share your work, and get help.