Gambio icon

Gambio

Interact with Gambio REST API v3

Actions220

Country (v2) → Get Many

AI-generated

Summary

Retrieve a paginated list of countries from the Gambio REST API v2, optionally filtering, sorting, and selecting specific fields.

Inputs

  • Authentication (required) — Select the authentication method to use with the Gambio API: either Basic Auth (works with v2 and v3 API) or Bearer Token (JWT, works for v3 API only).
  • Additional Fields — Optional query parameters to refine the results, including fields (comma-separated list of fields to return), page (0-based page number), perPage (number of results per page), search (keyword to filter countries), and sort (sort order, e.g. +name or -id).

Output shape

a list of country records in JSON format

The response contains an array of country objects returned according to the specified pagination and filtering parameters. Pagination is controlled via 'page' and 'perPage' query parameters. If no fields are specified, the default set is returned. Errors from the API are handled as per standard HTTP error codes.

Discussion