TEST country allows you to test your integration without making real requests to external registries. It returns predictable mock data instantly.
Basic Usage
Use country codeTEST with any company ID. Special IDs trigger specific behaviors:
Search
Search returns your query plus example test IDs you can use:Test Company IDs
Success Cases
Any ID that doesn’t match an error pattern returns a valid company:| Company ID | Description |
|---|---|
| Any valid ID | Returns a complete company profile |
Error Cases
IDs starting withERROR_ trigger specific errors:
| Company ID | Error Type | HTTP Status |
|---|---|---|
ERROR_NOT_FOUND | Company not found | 404 |
ERROR_INVALID_INPUT | Invalid request | 400 |
ERROR_AUTH_FAILED | Service unavailable | 503 |
ERROR_TIMEOUT | Service unavailable | 503 |
ERROR_RATE_LIMITED | Service unavailable | 503 |
ERROR_SERVICE_DOWN | Service unavailable | 503 |
ERROR_NETWORK | Service unavailable | 503 |
ERROR_PARSING_FAILED | Processing failed | 422 |
ERROR_EXTRACTION | Processing failed | 422 |
ERROR_UNAVAILABLE | Service unavailable | 503 |
ERROR_PERMISSION | Service unavailable | 503 |
ERROR_INVALID_RESPONSE | Service unavailable | 503 |
ERROR_UNKNOWN | Service unavailable | 503 |
Documents
All test companies return a free “Trade Register Extract” document.Graph/Ownership Testing
IDs starting withGRAPH_ return specific ownership structures:
| Company ID | Description |
|---|---|
GRAPH_SIMPLE_001 | 2 individual shareholders (30%, 20%) |
GRAPH_CHAIN_001 | Company → Company → Individual chain |
GRAPH_UBO_001 | Clear UBO structure (51%, 25%, 24%) |
GRAPH_CIRCULAR_001 | Circular ownership (A owns B owns A) |
GRAPH_WIDE_001 | 5 individual shareholders (15% each) |
GRAPH_MIXED_001 | 2 individuals + 2 company shareholders |
GRAPH_DEEP_001 | Deep chain up to 3 levels |
GRAPH_EMPTY_001 | Company with no shareholders |