How to get started using the NiftyApes Seller Financing API
1. Request an API key
After you have an API key, include it in all your requests as the x-api-key
header.
2. Include the API version and chain name in the request URL
Every request starts with the chain name. Currently only MAINNET
and GOERLI
are supported. After the chain name, an API version is required. Currently only v1
is supported.
So, for example, to retrieve all Mainnet loans, you would direct a request at https://api.niftyapes.money/MAINNET/v1/loans
3. Make Requests
There are two main routes: /loans
and /offers
. The /loans
route is read-only, and provides a user-friendly interface to the protocol state. The /offers
routes both lets the API user fetch info about the off-chain offers that exist, as well as create an offer by suppling an offer object and a signature.