Next.js (Browser)
Learn how to integrate Airstack APIs to your Next.js client-side (browser) application, using the Airstack Web SDK.
Last updated
Was this helpful?
Learn how to integrate Airstack APIs to your Next.js client-side (browser) application, using the Airstack Web SDK.
Last updated
Was this helpful?
In this tutorial, you will learn how to start integrating API into your Next.js application.
Completed
Git
Node v.16+
Use a package manager to install the into your Next.js project:
Create a new .env
file:
Once you have initialized the SDK, you can use the useQuery
to call the Airstack API.
The data
variable will return and logged into your browser's console as follows:
Learn to build more with Airstack using our tutorials:
Resolve Identities
Wallet API Reference
Add the as the environment variable:
Wrap your component with the AirstackProvider
from the SDK to initialize it with the :
Below you have been provided with Airstack query to fetch the 0x address and Farcaster owned by :
If you have any questions or need help regarding integrating into your Next.js client side application, please join our Airstack's group.