TheDocumentation Index
Fetch the complete documentation index at: https://docs.coinlist.co/llms.txt
Use this file to discover all available pages before exploring further.
@coinlist-co/react package is the recommended way to integrate CoinList in React and Next.js apps with a backend. It gives you OAuth with PKCE on the client, token exchange and sessions on the server, and ready-made UI for common flows.
For a linear walkthrough, start with SDK quickstart.
Requirements
- React 18+ and React DOM 18+ (peer dependencies)
- A backend you control to store
client_secret, exchange authorization codes, and keep refresh tokens out of the browser
Install
Entry points
Import paths follow the publishedexports field:
| Path | Use for |
|---|---|
@coinlist-co/react | CoinListProvider, useCoinList, createCoinListClient, useCompleteCoinListOAuth, config types |
@coinlist-co/react/client/components | Batteries-included UI (CoinListSignInCard, OffersGrid, OfferCard, styles side effect) |
@coinlist-co/react/client/hooks | Hooks only (useCoinListOffers, useCoinListOfferDetails, …) |
@coinlist-co/react/client/core | CoinListClient / createCoinListClient for non-React or advanced wiring |
@coinlist-co/react/server | createCoinListServer, session helpers for route handlers (Next.js, etc.) |
client/components for UI, then client/hooks, then client/core and server — see SDK quickstart.
Next steps
SDK quickstart
Credentials, install, and architecture in one place.
OAuth recipe
End-to-end sign-in with backend session.