After OAuth, you can load every sale the current user can see and render them with the SDK — no hand-written HTTP integration for the common case.Documentation Index
Fetch the complete documentation index at: https://docs.coinlist.co/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
CoinListProviderwith workinggetAccessToken(session established on your backend)- User signed in: your
getAccessTokenreturns a non-null access token after OAuth (see the OAuth recipe)
Recommended: OffersGrid
OffersGrid uses useCoinListOffers internally and renders a responsive grid of offer cards with loading, error, and empty states.
maxColumns— upper bound for the grid when space allows (default3)loading,error,emptyState— replace default slots with your own React nodesonOfferClick— when set, cards become interactive; omit for read-only lists
Lower-level APIs
Open these sections when you need custom layouts or non-React code.Hook: useCoinListOffers
Hook: useCoinListOffers
Use
useCoinListOffers from @coinlist-co/react/client/hooks when you want full control over markup but still prefer reactive loading state.The hook exposes offersState:LOADING— provider not ready or request in flightERROR—reasonisnot-authenticatedorgeneric-errorCONTENT—offersis every page of offers merged (same data asfetchAllOffers)
Client: fetchAllOffers and fetchOffersPage
Client: fetchAllOffers and fetchOffersPage
Inside React you usually reach these through For imperative, non-hook usage, create a
useCoinList():coinlist.fetchAllOffers()— iterates every paginated page and returns all offers (throwsNotAuthenticatedErrorif the user is not logged in)coinlist.fetchOffersPage(params)— one page of API results when you implement your own pagination UI
CoinListClient with createCoinListClient from @coinlist-co/react or @coinlist-co/react/client/core.REST: offers endpoints
REST: offers endpoints
The SDK calls the same API documented in the API reference. Use raw HTTP only if you are not using React, or you need fields or flows the SDK does not expose yet. You still need a valid Bearer access token from your OAuth session.
Next step
Display offer details
Load full offer details for an id from the grid or
fetchAllOffers.