1. Companies
Graph Swiss API
  • Introduction
  • Quickstart
  • Authentication
  • Base URL
  • Errors
  • Request ID
  • Conventions
  • API
    • Health
      • Liveness probe
    • Companies
      • Search companies
        POST
      • AI-powered company search
        POST
      • Get company by ID
        GET
      • Get company journal summaries
        GET
      • Get full SHAB journal texts
        GET
      • Get detailed company report
        GET
    • Persons
      • Search persons
      • Get person by ID
    • Stocks
      • List active Swiss stock symbols
      • Get real-time stock quote
      • Get current stock price
      • Get historical OHLCV data
      • Get latest end-of-day data
      • Get company profile and statistics
      • Get income statement, balance sheet, and cash flow
      • Get key executives for a stock
  • Schemas
    • StockSymbol
    • Error
    • StockQuote
    • Company
    • StockPrice
    • CompanyDetail
    • StockHistoryValue
    • Code
    • StockHistory
    • CompanyWithRelations
    • StockEod
    • CompanyListPage
    • StockProfile
    • Person
    • StockIncomeStatement
    • ShabJournal
    • StockBalanceSheet
    • PersonCompanyLink
    • StockCashFlow
    • PersonWithCompanies
    • StockFinancials
    • PersonListPage
    • StockKeyExecutive
  1. Companies

Search companies

POST
/api/companies/search
Full-text search across Swiss companies. Optionally filter by status, legal form, or canton.
Returns a paginated list of search-result rows.

Request

Authorization
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
Body Params application/jsonRequired

Example
{
    "query": "Nestle",
    "status": [
        "active"
    ],
    "form_legal": [
        "Aktiengesellschaft"
    ],
    "canton": [
        "VD"
    ],
    "limit": 20,
    "offset": 0
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/companies/search' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "query": "Nestle",
    "status": [
        "active"
    ],
    "form_legal": [
        "Aktiengesellschaft"
    ],
    "canton": [
        "VD"
    ],
    "limit": 20,
    "offset": 0
}'

Responses

🟢200
application/json
Paginated companies.
Body

Example
{
    "success": true,
    "data": {
        "total": 250,
        "items": [
            {
                "id": 12345,
                "name": "Nestlé S.A.",
                "uid": "CHE-100.063.197",
                "status": "active",
                "legalform": "Aktiengesellschaft",
                "registerdate": "1866-01-01",
                "address": "string",
                "location": "Vevey",
                "canton": "VD",
                "slug": "nestle-sa"
            }
        ]
    }
}
🟠400BadRequest
🟠401Unauthorized
🟠402PaymentRequired
🟠429TooManyRequests
🔴502UpstreamError
Modified at 2026-05-01 06:16:37
Previous
Liveness probe
Next
AI-powered company search
Built with