Query option $count

Use the $count query option (value set to true) to request a count of matching records returned along with the records in the response. The $count query option ignores any $top or $skip query options, and returns the total count of results across all records including the results matching the $filter criteria (if specified).

Component Description

HTTP method

GET

URL

https://host/fmi/odata/version/database-name/table-name?$count=true

host – FileMaker Cloud or FileMaker Server host name

version – the OData version, always v4

database-name – the name of the hosted database

table-name - the name of the table

Example: /fmi/odata/v4/ContactMgmt/Contacts?$count=true