Filtering

Prev Next

List (index) endpoints sometimes expose query parameters that allow the responses to be limited to resources matching the given filters. Common endpoints that can be filtered using query parameters include transaction and scheduled transfer endpoints.

For example, if you want to filter only a list of user transactions which occurred after November 06, 2024, you could specify the created_from parameter in the transactions endpoint like this:

https://api.sandbox.narmi.dev/v1/transactions/?created_from=2024-11-06T00:00:00

In this example, you are filtering from a timestamp (created_from=2024-11-06T00:00:00). The transaction endpoint also allows users to use created_to, specifying the latest date-time a user wants to include in their query.

Users can find which endpoints support filtering by looking in the Query Parameters section of the documentation for each endpoint.

In the case that an invalid filter value is specified, a status code of 404 with a detailed explanation is returned.