Get Activities By Pattern
⭐️ Description
This API endpoint allows you to fetch activities from a specified decentralized platform.
The API call is a GET request and the platform
parameter is required in the API call path. You can use additional query parameters like limit
, tag
, and direction
to filter and customize the results.
For more details, please visit the RSS3 DSL API.
🔨 Example
We use the following API call to retrieve activities from a platform on Ethereum. The path parameter Uniswap
is added to the request path, and we set the query parameters limit=1
and action_limit=1
to display only one action from a single activity, and direction=out
to show only outgoing activities.
Copy the code below and run it in your terminal to see the result.
💻 Response
The response from this call will look like this:
Congratulations 🎉! You just learned how to retrieve activities from a specified platform.
🧰 SDK
You can also integrate this feature into your code using our RSS3 SDKs. The SDK ensures type safety and provides IDE auto-completion support, making your integration smoother.