Quick Start
Get started with Fanbase Labs' cool swap interface and amazing DeFi tools.
Try in your Application
▸ Static
request<Data
, Response
>(retryConfig
, requestConfig
): Promise
<AxiosResponse
<Response
, any
>>
// use fetch or import a library like "axios"
// to perform a request
// request sync
axios.get('https://api.fanbase.io/v1/tokens').then(resp => {
//process api response
console.log(resp.data);
});
// request async
const response = await axios.get('https://api.fanbase.io/v1/tokens');
const { data } = response;
Make your First Request
You can easily make your first request with one of our available API endpoints.
Aggregate Swap APIPure Swap APINFT Swap APILast updated