Skip to main content
POST
/
companies
/
_search
Search companies
curl --request POST \
  --url https://api.gospott.com/companies/_search \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "filters": [
    {
      "type": "text",
      "operator": "contains",
      "path": "name",
      "value": "<string>"
    }
  ],
  "page": 0,
  "pageSize": 20
}
'
{
  "items": [
    {
      "logoUrl": "<string>",
      "id": "<string>",
      "name": "<string>",
      "domain": "<string>"
    }
  ],
  "pagination": {
    "hasNextPage": true
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.

Body

application/json
filters
object[]
page
integer
default:0
Required range: x >= 0
pageSize
integer
default:20
Required range: 1 <= x <= 100

Response

200 - application/json
items
object[]
required
pagination
object
required