Introducing: Following Activity API
A real-time, onchain transaction feed is an essential building block for transaction discovery. Now, with the Following Activity API, developers can easily generate live feeds of SPL token swaps enhanced with social profiles from Tapestry. Transform anonymous, verbose transactions into socially enriched feeds that drive discovery and volume in your app.
How You Can Use the API
Integrate the API with our simple NPM package into your app to fetch live transaction data.
Display a real-time feed of swaps and transfers from followed users.
Enable copy trading by allowing users to mirror trades with one click.
Filter by token to track swaps for specific assets, such as SSE, and provide a targeted trading experience.
API Details
The GET /activity/swap endpoint provides structured transaction data, making it easy to extract swap details, including:
Transaction Hash: Unique ID for each transaction
Timestamp: When the transaction occurred
From/To Addresses: Who initiated and received the transaction – wallets that have profiles on Tapestry have their social information supplied here!
Token Pair: The assets being swapped
Amount & Price: How much was swapped and at what rate
Token Filtering: Query transactions for a specific token, allowing users to track movements of assets like SSE in real time.
For full documentation and implementation details, view: our docs.
Start building with the Following Activity API today and bring next-gen trading experiences to your users!