# Company Search by Text

Search Crustdata Company Text via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Crustdata, pass parameters such as fields, limit, search, and retrieve structured data including matching company identifier, continuation cursor, and total count for company shortlists, and follow-up enrichment, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/crustdata/crustdata-company-search-by-text/?offering=b466c740-5acd-48e3-96ad-4bfa5f0f7af5
API ID: b466c740-5acd-48e3-96ad-4bfa5f0f7af5
Provider: crustdata
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/crustdata/crustdata/company/search
Page update time: 2026-12-03T02:49:32.751Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.009 / result
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:32.261Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "usage",
  "priceMicroUsd": "9000",
  "rounding": "ceil",
  "unit": "result",
  "unitQuantity": "1"
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Company Search by Text request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "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",
      "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."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "companies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "crustdata_company_id": {
            "type": "integer"
          }
        }
      }
    },
    "next_cursor": {
      "type": "string"
    },
    "total_count": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Documentation example
```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"
  }
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "companies": [
    {
      "crustdata_company_id": 1049850
    },
    {
      "crustdata_company_id": 19270920
    }
  ],
  "next_cursor": "<next_cursor_from_your_response>",
  "total_count": null
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- crustdata: https://openany.si/market/apis/crustdata/crustdata-company-search-by-text/?offering=b466c740-5acd-48e3-96ad-4bfa5f0f7af5

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
