Company Search by Text
Find companies with a hybrid text query and return company IDs. Supply search.query, set search.mode to hybrid and request crustdata_company_id. Use limit to select up to ten results per page and pass next_cursor back as cursor with the same query. The result contains companies and pagination metadata for subsequent company identification or enrichment.
- Selected price
- $0.009 / resultPublished pricing
- Providers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Provider | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
crustdataCurrent Company Search by Text · POST | $0.009 / result | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
companiesobject[]crustdata_company_idinteger
next_cursorstringtotal_countnull
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
companies?: Array<{
crustdata_company_id?: number;
}>;
next_cursor?: string;
total_count?: null;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/crustdata/crustdata/company/search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/crustdata/crustdata/company/search' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"fields": [
"crustdata_company_id"
],
"limit": 2,
"search": {
"mode": "hybrid",
"query": "software companies"
}
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
cursor | JSON request bodybody | string | No | minLength: 1 · maxLength: 16384 |
fields | JSON request bodybody | array | Yes | const: ["crustdata_company_id"] Nested fields and variants
|
limit | JSON request bodybody | integer | Yes | minimum: 1 · maximum: 10 |
search | JSON request bodybody | object | Yes | additionalProperties: false Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.
{
"companies": [
{
"crustdata_company_id": 1049850
},
{
"crustdata_company_id": 19270920
}
],
"next_cursor": "<next_cursor_from_your_response>",
"total_count": null
}Usage billing
$0.009 per result. Rounding: ceil.
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Company Search by Text
Find companies with a hybrid text query and return company IDs. Supply search.query, set search.mode to hybrid and request crustdata_company_id. Use limit to select up to ten results per page and pass next_cursor back as cursor with the same query. The result contains companies and pagination metadata for subsequent company identification or enrichment.
Documentation: https://openany.si/apis/b466c740-5acd-48e3-96ad-4bfa5f0f7af5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/crustdata/crustdata/company/search
Price: $0.009 / result
Provider: crustdata
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/crustdata/crustdata/company/search' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"fields": [
"crustdata_company_id"
],
"limit": 2,
"search": {
"mode": "hybrid",
"query": "software companies"
}
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Company Search by Text",
"endpoint": "https://api.openany.si/v1/agent-apis/crustdata/crustdata/company/search",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Find companies with a hybrid text query and return company IDs. Supply search.query, set search.mode to hybrid and request crustdata_company_id. Use limit to select up to ten results per page and pass next_cursor back as cursor with the same query. The result contains companies and pagination metadata for subsequent company identification or enrichment.",
"json_schema": {
"additionalProperties": false,
"properties": {
"cursor": {
"maxLength": 16384,
"minLength": 1,
"type": "string"
},
"fields": {
"const": [
"crustdata_company_id"
],
"items": {
"type": "string"
},
"type": "array"
},
"limit": {
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"search": {
"additionalProperties": false,
"properties": {
"mode": {
"const": "hybrid",
"type": "string"
},
"query": {
"maxLength": 500,
"minLength": 1,
"type": "string"
}
},
"required": [
"mode",
"query"
],
"type": "object"
}
},
"required": [
"search",
"limit",
"fields"
],
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "usage",
"priceMicroUsd": "9000",
"rounding": "ceil",
"unit": "result",
"unitQuantity": "1"
},
"examples": [
{
"http_status": 200,
"name": "Documentation example",
"request": {
"body": {
"fields": [
"crustdata_company_id"
],
"limit": 2,
"search": {
"mode": "hybrid",
"query": "software companies"
}
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"companies": [
{
"crustdata_company_id": 1049850
},
{
"crustdata_company_id": 19270920
}
],
"next_cursor": "<next_cursor_from_your_response>",
"total_count": null
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Documentation example
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- Find companies with a hybrid text query and return company IDs. Supply search.query, set search.mode to hybrid and request crustdata_company_id. Use limit to select up to ten results per page and pass next_cursor back as cursor with the same query. The result contains companies and pagination metadata for subsequent company identification or enrichment.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/crustdata/crustdata/company/search' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "fields": [ "crustdata_company_id" ], "limit": 2, "search": { "mode": "hybrid", "query": "software companies" } }'Check the response
Sample response · Documented HTTP 200
Sample response{ "companies": [ { "crustdata_company_id": 1049850 }, { "crustdata_company_id": 19270920 } ], "next_cursor": "<next_cursor_from_your_response>", "total_count": null }
Loading related APIs…
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use Company Search by Text with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.