# rowexists: Check if rows exist in a data table

> rowexists (Check if rows exist in a data table) is a 1001fx API function in the group Data tables: POST https://api.1001fx.com/datatables/rowexists, 1 credit per call. It works as a ready-made module in Make or as a plain HTTP call.

Returns whether rows match the conditions and how many – e.g. as a filter in Make to skip records that were already processed (deduplication).

- Group: Data tables
- Endpoint: `POST https://api.1001fx.com/datatables/rowexists`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: application/json
- Credits: 1 credit per call
- Ready-made in: Make
- Docs: https://1001fx.com/functions/rowexists

## Parameters

- `table` (string, required) – Table: ID or name of the data table.
- `filters` (array<object>, optional) – Conditions: Optional. Without conditions all rows match.
  - `column` (string, required) – Column: Column name; id, createdAt and updatedAt work too.
  - `condition` (enum, required, one of `eq`, `neq`, `gt`, `gte`, `lt`, `lte`, `contains`, `isEmpty`, `isNotEmpty`) – Condition: contains ignores upper/lower case; isEmpty and isNotEmpty need no value.
  - `value` (any, optional) – Value: Compared by the type of the column.
- `match` (enum, optional, one of `all`, `any`, default `all`) – Match: all (default): every condition must match; any: one is enough.

## Example: Check if rows exist in a data table

```bash
curl -X POST 'https://api.1001fx.com/datatables/rowexists' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"table":"processed_orders","filters":[{"column":"orderId","condition":"eq","value":"A-17"}]}'
```
