Skip to main content
Base URL prefix: https://api.istari.ai/v2.

POST /fetch : bulk domain lookup

Returns current GOI rows for domains you already know. There is no relevance ranking.

Request

  • domains: required, non-empty list, maximum 5,000 domains per request.
  • columns: same rules as search; default ["domain", "name", "country"]. See Reference: columns.
Domains your key is not allowed to see are treated like missing and appear in metadata.missing.

Response


POST /stats : aggregations

Returns COUNT(*) buckets over the filtered population. No text or vector scoring, plain SQL grouping. Available on all customer API tiers. Monthly request quotas apply by tier (see Reference: rate limits).

Request (shape)

Allowed group_by / group_by_secondary columns

Geographic: continent, country, country_code, state, state_code, region, region_code, district, district_code, municipality, municipality_code. Classification: nace_code, organization_type, organization_size, employee_class, revenue_class. Source / registry: source, company_register_court. Registration columns (company_register_court, company_register_date) count one row per registration, so an organization with several register entries is counted once per entry. Array (exploded per value): summary_keywords. Date (use with date_trunc): company_register_date, created_at.

Derived groups

group_by_derived lets you define your own buckets. Each key in groups is an output label, and each value is a filters object, like the top-level filters. Up to 25 groups.
group_by_derived and group_by are mutually exclusive. group_by_derived requires top-level filters (they bound the scan); without them the request is rejected with 422.

Response

Each bucket in data includes the grouping column value(s) and a count. Top-level elapsed_ms and metadata echo timings, filters, and bucket counts.

GET /filters/options

Returns JSON suitable for building filter UIs: allowed categorical values, scoped to your API key’s data access. No request body.

Locations

Use these endpoints to find the exact place name that geographic filters (country, state, region, district, municipality) expect. Names follow GADM native spellings: Bayern, not Bavaria. The maximum limit on both endpoints is 10,000. Follow the links above to the API Playground for every parameter.

Large exports (on request)

For exports larger than search and fetch allow, ISTARI can enable asynchronous SQL exports to Parquet on your key. Contact support@istari.ai to request access.

GET /health

Lightweight check that the service can reach the database. Response shape:
or, on failure, healthy: false with an error message.

Minimal curl : fetch