> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corsair.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# IP2Proxy database

> IP2Proxy local sync in Corsair: the entities stored in your database, the `.search()` filters each one accepts, and the filter operators.

The IP2Proxy plugin syncs data locally. Use `corsair.ip2proxy.db.<entity>.search({ data, limit?, offset? })` with the filters listed per entity.

> [!NOTE]
>
> **New to Corsair?** See [database operations](https://docs.corsair.dev/concepts/database.md), [data synchronization](https://docs.corsair.dev/concepts/integrations.md), and [multi-tenancy](https://docs.corsair.dev/concepts/multi-tenancy.md).

## Checks

Path: `ip2proxy.db.checks.search`

```ts theme={null}
const rows = await corsair.ip2proxy.db.checks.search({
    data: { /* filters below */ },
    limit: 100,
    offset: 0,
});
```

### Searchable filters

| Field | Type | Operators |
| - | - | - |
| `entity_id` | `string` | equals, contains, startsWith, endsWith, in |
| `ip` | `string` | equals, contains, startsWith, endsWith, in |
| `response` | `string` | equals, contains, startsWith, endsWith, in |
| `countryCode` | `string` | equals, contains, startsWith, endsWith, in |
| `countryName` | `string` | equals, contains, startsWith, endsWith, in |
| `regionName` | `string` | equals, contains, startsWith, endsWith, in |
| `cityName` | `string` | equals, contains, startsWith, endsWith, in |
| `isp` | `string` | equals, contains, startsWith, endsWith, in |
| `domain` | `string` | equals, contains, startsWith, endsWith, in |
| `usageType` | `string` | equals, contains, startsWith, endsWith, in |
| `as` | `string` | equals, contains, startsWith, endsWith, in |
| `proxyType` | `string` | equals, contains, startsWith, endsWith, in |
| `isProxy` | `string` | equals, contains, startsWith, endsWith, in |
| `threat` | `string` | equals, contains, startsWith, endsWith, in |
| `provider` | `string` | equals, contains, startsWith, endsWith, in |
| `creditsConsumed` | `number` | equals, gt, gte, lt, lte, in |

*Every `.search()` also accepts `limit` and `offset` for pagination. `.list()` is available on the same path without the `.search` suffix in code — see [database operations](https://docs.corsair.dev/concepts/database.md).*

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.