{"openapi":"3.1.0","info":{"title":"Milda API","description":"Milda API","version":"1.0.0"},"servers":[{"url":"https://api.milda.ai"}],"paths":{"/v1/credit-usage":{"get":{"tags":["Credit Usage"],"summary":"Credit Usage","description":"Check the API token you are using: whether it is valid, when it expires, and how many credits it has left.\n\n---\n\n## How It Works\n- Any valid API token can call this endpoint, and it costs nothing.\n- An expired, disabled or unknown token gets `401`, so a `200` means the token works.\n\n## Response Fields\n- `token`: The API token in use.\n- `expiration_date`: Date and time when the token expires.\n- `credits`: The remaining balances:\n  - `credits.data` – spent by search, data and insight endpoints\n  - `credits.enrichment` – spent by company enrichment\n\n---\n\n## Rate Limit\n**10 requests per second**","operationId":"credit_usage_v1_credit_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenInfo"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/lookup":{"post":{"tags":["Company Search"],"summary":"Find Company","description":"# Find Company\n\n**POST** `/v1/companies/lookup`\n\nLook up a specific company by its **name**, **website**, or **registration number**.\nUse this when you already know the company you want and need to resolve it to a\ncompany id, rather than running a broad topical search.\n\n## Request\nProvide at least one identifier. If you send several, one is used: the registration\nnumber if given, otherwise the website, otherwise the name.\n- `name` — company name.\n- `website` — company website or domain name.\n- `registration_number` — company registration number.\n- `country_code` (optional) — restrict the lookup to a country (ISO 3166-1 alpha-2).\n- `limit` (optional, default 10) — maximum number of matches to return.\n\n## Response\n- `companies` — list of matching companies, best match first. Each has `company_id`, `name`,\n  `url`, `country_code` and `size`.\n- `search_id` — identifier for this search.\n\nReturns `204 No Content` if no company matches.\n\n## Credits\n1 data credit per lookup that finds a company.","operationId":"lookup_v1_companies_lookup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyLookupItem"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyLookupResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/text-search":{"post":{"tags":["Company Search"],"summary":"Text Search","description":"The Text Search endpoint allows users to find relevant companies on the Milda platform using a free-text query. It supports both simple keywords and detailed descriptions.\n\n---\n\n## Query Options\n\nYou can input one of the following into the `keyword` parameter:\n- A specific keyword (e.g. *creative agency*, *private credit*, *B2B data provider*)\n- A highly descriptive phrase (e.g. *companies that remove oil and water from gas*, *conversion of atmospheric CO₂ into carbonate minerals using highly reactive minerals in steel slag*)\n\n## Response Data\n\nThe endpoint returns:\n- A list of companies, each with:\n  - Its rank in the results\n  - A unique Milda company ID\n  - Name, website, country and size\n  - The **market segments** it was found under\n- A `search_id` for the search\n\nUse the **Profiles** endpoint with the returned IDs to get full firmographics.\n\n### Market Segments\n\nMilda expands your query into related market segments and searches for companies in each of them. `market_segments` lists every segment that matched the company, so you can see why it was returned and group results by segment.\n\n## Filters\n\nYou can narrow your search using filters such as:\n- Country\n- Industry\n- Company age\n- Company size\n- Other parameters\n\n## Searching within a set of companies\n\nPass `company_ids` and/or `urls` to restrict the search to that set of companies\n(max 1000). When provided, the keyword search runs **only within** those companies.\nLeave them empty to search the whole platform.\n\n## Why a Company Matched\n\nPass the response's `search_id` and a `company_id` from the results to **Text Search Insights**\nto get the passage that ties that company to your query. It is free.\n\n## Credit Usage\n\n- **Open keyword search** (no `company_ids`/`urls`): **10 credits** per search + **0.2 credit** per company returned.\n- **Search within a set** (`company_ids`/`urls` provided): flat **10 credits** per search.\n\n### Example\n\nOpen keyword search returning 100 companies:\n- **Total cost = 10 + (0.2 × 100) = 30 credits**\n\n## Exclusions\n\nTo avoid duplicates, use:\n- `exclude_company_ids` to exclude previously returned companies by ID\n- `exclude_urls` to exclude companies by URL\n\nNo credits are charged for excluded companies, so re-running a similar query returns new companies instead of repeats.\n\n## Notes\n\n- `limit` can be 1 to 10,000. Without it, the endpoint returns up to **10,000 companies** (2,500 for trial tokens).\n- If your search yields **8,000+ companies**, consider refining by region or country for better granularity.\n\n---\n\n## Rate Limit\n**1 request per second**","operationId":"text_search_v1_companies_text_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextSearchItem"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/text-search/insights":{"post":{"tags":["Company Search"],"summary":"Text Search Insights","description":"Explains why a company appeared in your Text Search results: the passage that ties it to your query, and the market segments it was found under.\n\n---\n\n## How to Use\n\n1. Run **Text Search** and keep the `search_id` from its response.\n2. For any company in those results, send the `search_id` and the company's `company_id`.\n\nOne company per request. A `search_id` can be used for 24 hours, only with the token that ran the search.\n\n## Response\n\n- `insights` – the passage from the company's website or other sources that matches your query, as plain text. `null` when no passage could be extracted.\n- `source_urls` – the pages the passage comes from, in the order its paragraphs appear.\n- `market_segments` – the market segments the company was found under in that search.\n\n## Errors\n\n- `404` – the `search_id` is unknown, older than 24 hours or from another token, or the company is not in that search's results.\n\n## Credit Usage\n\n- **Free** – the search itself is already paid for.\n\n---\n\n## Rate Limit\n**10 requests per second**","operationId":"text_search_insights_v1_companies_text_search_insights_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextSearchInsightsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextSearchInsights"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/enrichment":{"post":{"tags":["Companies"],"summary":"Submit Companies for Enrichment","description":"This endpoint allows you to submit a list of companies for enrichment using Milda company IDs or company URLs.\n\n## Purpose\n\nMilda may not have data for all companies in your database. This endpoint initiates the enrichment process, which usually takes **24–48 hours** to complete.\n\nUse this when:\n- You want to enrich firmographic and contact data for companies currently marked as `NOT_PROCESSED`.\n- You want to check which submitted companies will eventually become available on the platform.\n\n## Enrichment Workflow\n\n1. **Step 1** – Submit a list of companies using `company_ids` or `urls`  \n   → You receive their current status.\n2. **Step 2** – Wait 24–48 hours, then use the **Get Company Statuses** endpoint  \n   → Check if the statuses have changed (e.g., to `ON_PLATFORM`).\n\n### Important:\nOnly companies with `NOT_PROCESSED` status are submitted.  \nCompanies with any other status are returned with their current status, are not submitted and cost nothing.\n\n## Statuses Returned\n\nFor each company submitted, you may receive:\n\n- **ON_PLATFORM** – Data enrichment complete. Company data is now available.\n- **PROCESSING** – In the fast processing pipeline (usually 24–48 hours). Companies this request submitted show `submitted: true`; this includes websites new to Milda and companies that were waiting in Milda's regular processing queue. Companies already in the fast pipeline show `submitted: false` and are not charged again.\n- **NOT_PROCESSED** – Returned only for a redirect target when `submit_redirects` is `false`; every other company Milda has no data for is submitted.\n- **UNAVAILABLE** – Milda tried and could not collect data. Common reasons:\n  - The website cannot be reached or does not exist\n  - The website blocks data collection\n  - The website has no usable text\n\n  The row's `status_details` says which, in plain text (e.g. \"The website's domain does not resolve, so it may not exist.\").\n- **NOT_FOUND** – Unknown company ID (company IDs only; a URL is never `NOT_FOUND`)\n- **INVALID_INPUT** – The URL is malformed and could not be resolved to a company\n\n## Redirects\n\nSome websites redirect to another company's website. When Milda has already crawled a requested website and found that it redirects, the row describes the company it redirects to:\n\n- `redirected_from_company_id` – the company ID of the website you requested\n- `redirect_url` – the website it redirects to\n- `company_id` and `status` – the company behind `redirect_url`\n\nIf that company is `NOT_PROCESSED`, it is submitted for enrichment and charged like any other submitted company. Set `submit_redirects` to `false` to see the redirect without submitting it.\n\nA website Milda has never crawled cannot show a redirect yet.\n\n## What to Do After Enrichment\n\nOnce a company reaches `ON_PLATFORM` status, you can:\n\n- Use **Text Search** to segment your enriched companies\n- Use **Profiles** to access their firmographic profile\n- Use **People Search** and **Get Verified Emails** for employee and contact data\n\n## Credit Usage\n\n- **Cost** – 1 enrichment credit for each company the request submits. Companies that are not submitted cost nothing.\n- **Refunds** – 36 hours after submission, the credit comes back for every submitted company that has not reached `ON_PLATFORM`.\n- **Balance** – Enrichment credits are separate from data credits. `remaining_credits` in the response shows your enrichment balance after the request.\n- **Limit** – Up to 1,000 company IDs and 1,000 URLs per request. If your enrichment balance cannot cover every company the request would submit, the whole request is rejected with `403` and nothing is submitted.\n\n---\n\n## Rate Limit\n**10 requests per second**","operationId":"company_enrichment_v1_companies_enrichment_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichmentRequestItem"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnrichmentSubmission"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/status":{"post":{"tags":["Companies"],"summary":"Company Statuses","description":"This endpoint is used to obtain Milda company IDs and their current/live statuses using company IDs, URLs, or emails as input.\n\n---\n\n## Input Options\n\nYou can provide any mix of the following, up to 1,000 of each per request:\n- Milda company IDs (retrievable via Milda’s search endpoints)\n- Company URLs (formats supported: `https://milda.ai/api` or `milda.ai`)\n- Emails (must include the company domain, e.g., `name@milda.ai`)\n\n## Purpose\n\nThis endpoint helps users determine:\n- Which companies to submit to the **Submit Companies for Enrichment** endpoint  \n- The current processing status of previously submitted companies\n\nIf a company has a `NOT_PROCESSED` status, submit it for enrichment. Once enriched successfully, the company status becomes `ON_PLATFORM`.\n\n## Status Values Returned\n\n- **ON_PLATFORM** – Company is available on Milda’s platform; data can be queried.\n- **PROCESSING** – In Milda's fast processing pipeline, usually for 24–48 hours: submitted for enrichment, or its website is being collected right now. Ends as `ON_PLATFORM` or `UNAVAILABLE`.\n- **NOT_PROCESSED** – Milda has no data for it yet: its website is new to Milda, or it is waiting in Milda's regular processing queue. Submit it for enrichment to have it processed in the fast pipeline.\n- **UNAVAILABLE** – Milda tried and could not collect data. Common reasons:\n  - The website cannot be reached or does not exist\n  - The website blocks data collection\n  - The website has no usable text\n  - The website redirects to another company's website\n\n  Milda may retry such websites on its own; the status changes if a retry succeeds.\n- **NOT_FOUND** – The company ID is not known to Milda. Only company IDs can be `NOT_FOUND`: a URL or email for a website Milda does not have is `NOT_PROCESSED`.\n- **INVALID_INPUT** – The URL or email is malformed and could not be resolved to a company.\n\n### Why a Company Is Unavailable\n\nEvery `UNAVAILABLE` row also has `status_details`, a plain-text explanation, for example:\n\n- \"The website's domain does not resolve, so it may not exist.\"\n- \"The website loads, but shows an anti-bot check instead of its content.\"\n- \"The website loads, but has no or too little text on its landing page.\"\n- \"The website refuses access to automated visitors.\"\n- \"The website redirects to another company's website.\"\n\nOther statuses have no `status_details`.\n\n## Credit Usage\n\n- Calling this endpoint does **not** consume credits.\n- There is no cap on the number of requests beyond the rate limit below.\n\n---\n\n## Rate Limit\n**10 requests per second**","operationId":"company_statuses_v1_companies_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyStatusRequestItem"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CompanyStatusProfile"},"type":"array","title":"Response Company Statuses V1 Companies Status Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/profiles":{"post":{"tags":["Companies"],"summary":"Company Profiles","description":"This endpoint retrieves full company profile documents using company IDs or URLs.\n\n---\n\n## Input Options\n\nYou can provide one of the following:\n- **Company IDs** – Use the `company_ids` parameter. These can be obtained from:\n  - **Text Search**\n  - **Find Company** (lookup)\n- **Company URLs** – Use the `urls` parameter, e.g.:\n  - `https://milda.ai/api`\n  - `milda.ai`\n\n## Data Returned\n\nReturns the company's firmographics, including:\n- Company name\n- Website URL\n- Business description\n- Key activities\n- Country\n- Locations\n- Company size\n- Company age\n- Turnover\n- Industry classifications:\n  - NACE 2-digit\n  - NACE 4-digit\n  - US SIC 3-digit\n- Additional metadata\n\n> **Note:**  \nThis endpoint does **not** return:\n- Employee lists  \n- Verified emails  \n- Events\nTo get that data, use:\n- **People Search**\n- **Get Verified Emails**\n- **Get Events Data**\n\n## Companies Without a Profile\n\nEvery requested company gets a row, so you can match each input to a result. A company\nwithout profile data comes back with only its ID, the URL you sent and its `status`:\n\n- `NOT_PROCESSED` or `PROCESSING` – submit it with **Enrichment**, or wait for enrichment to finish\n- `UNAVAILABLE` – Milda could not collect data for it\n- `NOT_FOUND` or `INVALID_INPUT` – the ID is unknown or the URL is malformed\n- `REDIRECT` – the website redirects to another company's website. The row names that company\n  in `redirect_company_id` and its website in `redirect_url`. Its profile is not included;\n  request `redirect_company_id` to get it.\n\n## Credit Usage\n\n- **1 credit per company that returns profile data**\n- Companies returned as `NOT_FOUND`, `NOT_PROCESSED`, `PROCESSING`, `UNAVAILABLE`, `REDIRECT` or `INVALID_INPUT` are not charged\n\n---\n\n## Rate Limit\n**10 requests per second**","operationId":"company_profiles_v1_companies_profiles_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyDataRequestItem"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CompanyProfile"},"type":"array","title":"Response Company Profiles V1 Companies Profiles Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/events":{"post":{"tags":["Companies"],"summary":"Company Events","description":"This endpoint returns business news and event data related to companies.\n\n---\n\n## Features\n\n- Up to **25 company IDs and 25 URLs per request**\n- Filter results by **event type** with the `event_types` parameter\n  (e.g. only `Funding & investment` and `Partnerships`)\n- Use `exclude_event_ids` to leave out events you already have\n\n## Event Types\n\nThere are 11:\n- `Contracts & agreements`\n- `Financials`\n- `Funding & investment`\n- `Hiring`\n- `Intellectual property`\n- `Licensing & authorisation`\n- `Partnerships`\n- `Prizes & awards`\n- `Standards`\n- `Challenges`\n- `Other`\n\n## Data Returned\n\nEach event has its ID, the company ID, the date, its event types, the sentence that reports it with surrounding context, the amount in euro (where one is stated), and the source URL.\n\nUnknown company IDs and malformed URLs return no events; check them with **Get Company Statuses** first.\n\n## Credit Usage\n\n- **1 credit per company that has at least one event in the response**\n  (No events = no charge)\n- Charges are **per company**, not per event\n  (1 credit whether a company has 1 or 10 events)\n- Excluding events with `exclude_event_ids` only avoids the charge when it removes all of that company's events\n\n---\n\n## Rate Limit\n**10 requests per second**","operationId":"company_events_v1_companies_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventsDataRequestItem"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CompanyEvent"},"type":"array","title":"Response Company Events V1 Companies Events Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/places-of-performance":{"post":{"tags":["Companies"],"summary":"Places of Performance","description":"# Companies — Places of Performance\n\n**POST** `/v1/companies/places-of-performance`\n\nThe countries a company operates in, and what it does in each one: production sites, subsidiaries, offices, delivered projects. The report is built from all the data Milda holds on the company, plus web research when the company's own content is thin.\n\nUse this endpoint when a registered address is not enough: to check whether a supplier really has operations in a market, to route a lead to the right regional team, or to qualify companies by where they deliver rather than where they are incorporated.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\n- `company_scope` — `single_country`, `multinational` or `unknown` (not enough evidence)\n- `default_country` — primary/home country (English name) assumed for activities with no explicit location, usually the headquarters country; `unknown` when none can be justified\n- `countries` — list of countries the company operates in:\n  - `country` — country name in English\n  - `summary` — what the company does in that country\n  - `highlights` — durable facts backing the summary (sites, subsidiaries, licences, long-running contracts)\n  - `sources` — source URLs used for that country; empty when it came from the company's own content\n\nReturns `204 No Content` when no country of performance could be established.\n\n## Notes\nThe report is generated on demand and cached server-side (~6 months), so the first call for a company is slower than subsequent ones.\n\n## Credits\nCharged a flat fee per company (data credits).","operationId":"company_places_of_performance_v1_companies_places_of_performance_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyInsightRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlacesOfPerformance"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/growth-signals":{"post":{"tags":["Companies"],"summary":"Growth Signals","description":"# Companies — Growth Signals\n\n**POST** `/v1/companies/growth-signals`\n\nA curated timeline of a company's notable developments (funding rounds, new contracts, partnerships, product launches, site expansions, leadership changes), with a one-sentence headline summarising its recent trajectory.\n\nUse this endpoint when you need the story rather than the raw feed: sales triggers before an outreach call, a quick read on whether a company is expanding or stalling, or a briefing line for a company profile. Each signal is de-duplicated and summarised across the underlying sources, and rated by importance from 1 to 3, so you can filter out the minor ones.\n\nIf you need every underlying mention instead, with full source sentences and event types, use `POST /v1/companies/events`.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\n- `headline` — one-sentence summary of the company's recent trajectory\n- `signals` — list of signals, newest first:\n  - `date_display` — human-readable date, as precise as the sources allow (e.g. `March 2024`)\n  - `sort_date` — normalized date for sorting (`YYYY-MM-DD`)\n  - `title` — short headline for the signal\n  - `description` — one- to two-sentence summary of what happened\n  - `category` — `Funding`, `Partnership`, `Product`, `Contract`, `IP`, `Award`, `Leadership`, `Expansion`, `Financials`, `Hiring` or `Other`\n  - `importance` — `1` (minor), `2` (notable) or `3` (major)\n  - `source_urls` — source URLs the signal was derived from\n\nReturns `204 No Content` when the company has no notable developments on record.\n\n## Notes\nThe timeline is generated on demand and cached server-side, so the first call for a company is slower than subsequent ones.\n\n## Credits\nCharged a flat fee per company (data credits).","operationId":"company_growth_signals_v1_companies_growth_signals_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyInsightRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrowthSignals"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/companies/products":{"post":{"tags":["Companies"],"summary":"Products & Clients","description":"# Companies — Products & Clients\n\n**POST** `/v1/companies/products`\n\nThe products and services a company sells, each with the kinds of companies that buy it. Milda reads them from the company's own website and description.\n\nUse this endpoint to see what a company offers before a sales call, to compare its range with another company's, or as the starting point for finding its competitors and potential clients:\n\n- **Competitors** — pass a product's `description` as the `keyword` of `POST /v1/companies/text-search`. It returns companies that describe the same offering.\n- **Potential clients** — pass one of a product's `client_segments` as the `keyword` of `POST /v1/companies/text-search`. It returns companies in that segment.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\n- `products` — the company's products and services:\n  - `name` — product or service name, as the company presents it\n  - `description` — what it is and what it is used for\n  - `client_segments` — kinds of companies that would buy it (customer segments, not named companies)\n\nReturns `204 No Content` when there is not enough information about the company to list its products.\n\n## Notes\nThe list is generated on demand and cached server-side. A first call for a company can take up to a minute; later calls return the cached list.\n\n## Credits\nCharged a flat fee per company (data credits).","operationId":"company_products_v1_companies_products_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyInsightRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductsReport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/people/search":{"post":{"tags":["People"],"summary":"People Search","description":"This endpoint returns the employees of up to 50 companies per request (25 IDs plus 25 URLs), or refreshes person records you already have.\n\n---\n\n## Input Parameters\n\nBoth `company_filters` and `person_filters` must be sent, even if one is empty (`{}`). Each request needs something to search within: at least one company (`company_filters.company_ids` or `company_filters.urls`) or person (`person_filters.person_ids`). A request without either is rejected with `422`.\n\n### Company Filters (`company_filters`)\nChoose the companies:\n- **Company IDs** (`company_ids`, up to 25) from Milda's search and company endpoints\n- **Company websites** (`urls`, up to 25), e.g. `https://milda.ai/api` or `milda.ai`. Combined with `company_ids`.\n\nNarrow them down by company **country** (`countries`, `exclude_countries`), **locations** the company is active in (`locations`, `locations_not`), **industry** (NACE 2-digit, NACE 4-digit, US SIC, each with an `exclude_` variant), **age**, **size** and **turnover**.\n\n### Person Filters (`person_filters`)\nNarrow down the people by:\n- **Seniority** (e.g. Director, C-Suite) and **department**\n- **Job title**: a term it must contain (`term_must_match_job_title`) or must not contain (`term_must_not_match_job_title`)\n- **Experience**: a term in the current (`term_must_match_current_job_experience`) or a previous (`term_must_match_past_job_experience`) role\n- **Country** where the person lives (`countries`), which may differ from the company's\n- **LinkedIn**: `has_linkedin: true` for people with a profile, `false` for people without one\n\nTo refresh people you already have, send up to **1000 `person_ids`**. Use `exclude_person_ids` to leave out people you already have.\n\n---\n\n## Response\n\nReturns every person matching the criteria. Each record has the person's ID, name, job title, seniority, department, location, LinkedIn and email availability, their professional background, and their company's ID, name, website, country, industry, age, size and turnover.\n\n**Example:**\nSubmit 25 company URLs, filter by seniority (Directors, C-Suite, Heads, Presidents) and a job title containing `revenue`, and you get every matching person across those companies.\n\n---\n\n## Credit Usage\n- **1 credit per 25 people returned** (0.04 credits per person)\n\n---\n\n## Rate Limit\n**10 requests per second**","operationId":"search_v1_people_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PeopleSearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Person"},"type":"array","title":"Response Search V1 People Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/people/verified-email":{"post":{"tags":["People"],"summary":"Verified Email","description":"This endpoint lets you **retrieve a verified email** for a given person, using the **person ID** obtained from the People Search endpoint.\n\n---\n\n## Input Parameters\n\n- **Person ID** (`person_id`) from People Search\n\n---\n\n## Response\n\n- Returns:\n  - **Person ID**\n  - **Verified email**\n- Returns `204 No Content` when no verified email is found.\n\n---\n\n## Credit Usage\n- **1 credit per verified email**\n- Credits are **only charged if an email is returned**\n\n---\n\n## Rate Limit\n**10 requests per second**","operationId":"verified_email_v1_people_verified_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetVerifiedEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifiedEmail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/trade-data/candidates":{"post":{"tags":["Trade Data"],"summary":"Trade Candidates","description":"# Trade Data — Candidates\n\n**POST** `/v1/trade-data/candidates`\n\nStep 1 of trade data. Given a company, returns the matching companies (candidates) found in the trade database, each with shipment counts.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\nList of candidates:\n- `candidate_id` — pass this to the other trade-data endpoints.\n- `name`, `country_code`\n- `total_import_shipments`, `total_export_shipments`\n\nReturns `204 No Content` if no matches are found.\n\n## Flow & credits\nPick a `candidate_id` from the results and call `POST /v1/trade-data/analytics`. This candidates step is **free**.","operationId":"trade_candidates_v1_trade_data_candidates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradeCandidatesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TradeCandidate"},"type":"array","title":"Response Trade Candidates V1 Trade Data Candidates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/trade-data/analytics":{"post":{"tags":["Trade Data"],"summary":"Trade Analytics","description":"# Trade Data — Analytics\n\n**POST** `/v1/trade-data/analytics`\n\nStep 2 of trade data. Returns an aggregated import/export trade report for a selected candidate.\n\n## Request\n- `company_id` (required) — Company ID.\n- `candidate_id` (required) — from a `candidates` result.\n- `type` (required) — `imp` (imports) or `exp` (exports).\n\n## Response\n- `summary` — `total_shipments`, `total_importers`, `total_suppliers`, `total_import_countries`, `total_export_countries`\n- `top_10_importer_countries` / `top_10_exporter_countries` — each item: `rank`, `country {name, code, name_cn}`, `total_value`, `total_shipments`, `total_quantity`, `total_weight`\n\nReturns `204 No Content` if there is no report for the company.\n\n## Credits\nCharged a flat fee per report (data credits).","operationId":"trade_analytics_v1_trade_data_analytics_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradeAnalyticsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradeReport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/trade-data/shipping-records":{"post":{"tags":["Trade Data"],"summary":"Shipping Records","description":"# Trade Data — Shipping Records\n\n**POST** `/v1/trade-data/shipping-records`\n\nIndividual import or export shipment records for a candidate company, 10 per page. Use this after `candidates` to drill into the raw shipments behind the `analytics` summary.\n\n## Request\n- `candidate_id` (required) — from a `candidates` result.\n- `type` (required) — `import` (import shipments) or `export` (export shipments).\n- `page_no` (optional, default `1`) — page number; 10 records per page.\n- `start_date` / `end_date` (optional) — filter shipments by date (YYYY-MM-DD), inclusive.\n\n## Response\nList of shipment records. Each record includes: `id`, `type`, `hs_code`, `hs_code_desc`, `bydate`, importer/exporter country fields (`country_imp`, `country_imp_cn`, `country_imp_en`, `country_exp`, `country_exp_cn`, `country_exp_en`), `amount`, `manifest_units`, `manifest_qty`, `weight_unit`, `weight`, `transport_type`, `export_id`, `shipper_name`, `import_id`, `consignee_name`, `products`, `start_port`, `end_port`, `is_shipping`, `or_country`, `brands`.\n\nReturns `204 No Content` when the page has no records.\n\n## Credits\nCharged a flat fee per page (data credits).","operationId":"trade_shipping_records_v1_trade_data_shipping_records_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradeRecordsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ShippingRecord"},"type":"array","title":"Response Trade Shipping Records V1 Trade Data Shipping Records Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/trade-data/shipment-suppliers":{"post":{"tags":["Trade Data"],"summary":"Shipment Suppliers","description":"# Trade Data — Shipment Suppliers\n\n**POST** `/v1/trade-data/shipment-suppliers`\n\nRanked list of shipment suppliers (exporters that ship to the candidate company), 10 per page. Use this to see who the company sources from.\n\n## Request\n- `candidate_id` (required) — from a `candidates` result.\n- `page_no` (optional, default `1`) — page number; 10 suppliers per page.\n\n## Response\nList of suppliers, ranked by trade volume. Each item includes: `rank`, `id`, `name`, `domain`, `country {name, code, name_cn}`, `total_export_value`, `total_shipments`, `total_export_quantity`, `total_weight`, `import_countries`, `export_countries`, `loading_ports`, `unloading_ports`, `products`.\n\nReturns `204 No Content` when the page has no suppliers.\n\n## Credits\nCharged a flat fee per page (data credits).","operationId":"trade_shipment_suppliers_v1_trade_data_shipment_suppliers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradePartnersRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExporterRecord"},"type":"array","title":"Response Trade Shipment Suppliers V1 Trade Data Shipment Suppliers Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/trade-data/shipment-recipients":{"post":{"tags":["Trade Data"],"summary":"Shipment Recipients","description":"# Trade Data — Shipment Recipients\n\n**POST** `/v1/trade-data/shipment-recipients`\n\nRanked list of shipment recipients (importers that receive shipments from the candidate company), 10 per page. Use this to see who the company sells to.\n\n## Request\n- `candidate_id` (required) — from a `candidates` result.\n- `page_no` (optional, default `1`) — page number; 10 recipients per page.\n\n## Response\nList of recipients, ranked by trade volume. Each item includes: `rank`, `id`, `name`, `domain`, `country {name, code, name_cn}`, `total_import_value`, `total_shipments`, `total_import_quantity`, `total_weight`, `import_countries`, `export_countries`, `loading_ports`, `unloading_ports`, `products`.\n\nReturns `204 No Content` when the page has no recipients.\n\n## Credits\nCharged a flat fee per page (data credits).","operationId":"trade_shipment_recipients_v1_trade_data_shipment_recipients_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TradePartnersRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ImporterRecord"},"type":"array","title":"Response Trade Shipment Recipients V1 Trade Data Shipment Recipients Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/patents/summary":{"post":{"tags":["Patents"],"summary":"Patent Summary","description":"# Patents — Summary\n\n**POST** `/v1/patents/summary`\n\nHeadline patent KPIs for a company.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\n- `n_patents` — total patents.\n- `avg_family_size` — average patent family size.\n- `share_cited_pct` — % of patents that have been cited.\n- `share_high_value_pct` — % of patents classified as high-value.\n- `filings_per_year` — per year: `{ year: {granted, not_granted} }`.\n- `offices` — per patent office: `{ office_code: {granted, not_granted} }`.\n\nReturns `204 No Content` if the company has no patent data.\n\n## Credits\nCharged a small flat fee per request (data credits).","operationId":"patent_summary_v1_patents_summary_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatentSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/patents/co-applicants":{"post":{"tags":["Patents"],"summary":"Patent Co-applicants","description":"# Patents — Co-applicants\n\n**POST** `/v1/patents/co-applicants`\n\nTop entities that co-applied for patents together with the company.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\nList of entities:\n- `name`, `country`\n- `n_patents` — number of shared patents.\n- `sectors` — technology sectors the entity is active in.\n\nReturns `204 No Content` if there are no co-applicants.\n\n## Credits\nCharged a small flat fee per request (data credits).","operationId":"patent_co_applicants_v1_patents_co_applicants_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PatentEntity"},"type":"array","title":"Response Patent Co Applicants V1 Patents Co Applicants Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/patents/inventors":{"post":{"tags":["Patents"],"summary":"Patent Inventors","description":"# Patents — Inventors\n\n**POST** `/v1/patents/inventors`\n\nTop inventors on the company's patents.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\nList of inventors:\n- `name`, `country`\n- `n_patents` — number of patents the inventor is named on.\n\nReturns `204 No Content` if there are no inventors.\n\n## Credits\nCharged a small flat fee per request (data credits).","operationId":"patent_inventors_v1_patents_inventors_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PatentEntity"},"type":"array","title":"Response Patent Inventors V1 Patents Inventors Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/patents/technology-users":{"post":{"tags":["Patents"],"summary":"Technology Users","description":"# Patents — Technology Users\n\n**POST** `/v1/patents/technology-users`\n\nTop organizations that cite this company's patents — i.e. who builds on its technology.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\n- `organizations` — list of `{ name, country, n_citations, sectors }`, ranked by citation count.\n- `total` — total number of citations.\n\nReturns `204 No Content` if no organizations cite the company.\n\n## Credits\nCharged a small flat fee per request (data credits).","operationId":"patent_technology_users_v1_patents_technology_users_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnologyOrgsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/patents/technology-providers":{"post":{"tags":["Patents"],"summary":"Technology Providers","description":"# Patents — Technology Providers\n\n**POST** `/v1/patents/technology-providers`\n\nTop organizations whose patents this company cites — i.e. the technology it builds on.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\n- `organizations` — list of `{ name, country, n_citations, sectors }`, ranked by citation count.\n- `total` — total number of citations.\n\nReturns `204 No Content` if the company's patents cite no organizations.\n\n## Credits\nCharged a small flat fee per request (data credits).","operationId":"patent_technology_providers_v1_patents_technology_providers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TechnologyOrgsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/patents/citations":{"post":{"tags":["Patents"],"summary":"Patent Citations","description":"# Patents — Citations\n\n**POST** `/v1/patents/citations`\n\nPaginated list of individual patent-level citations to or from the company's patents.\n\n## Request\n- `company_id` (required) — Company ID.\n- `direction` (required) — citation direction:\n  - `incoming` — patents that **cite** this company's patents (who builds on it).\n  - `outgoing` — patents that this company's patents **cite** (what it builds on).\n- `page_no` (default 1) — page of results, 25 per page, up to page 400.\n\n## Response\n- `rows` — list of citations, newest first. Each row:\n  - `company_patent_title`, `company_patent_publication_nr`, `company_patent_link` — the company's patent.\n  - `related_patent_title`, `related_patent_publication_nr`, `related_patent_link` — the patent on the other side of the citation.\n  - `related_applicants` — `{ name, country }` of the related patent's applicants.\n  - `citation_date`.\n- `total` — total citations available in this direction.\n\nReturns `204 No Content` if there are no citations in the requested direction.\n\n## Credits\nCharged a small flat fee per page (data credits).","operationId":"patent_citations_v1_patents_citations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CitationsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CitationsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/patents/list":{"post":{"tags":["Patents"],"summary":"Patent List","description":"# Patents — Patent List\n\n**POST** `/v1/patents/list`\n\nPaginated list of the company's patents, with optional filters.\n\n## Request\n- `company_id` (required) — Company ID.\n- `page_no` (default 1) — page of results, 25 per page, up to page 400.\n- `sort_order` — `desc` (default) or `asc`, by filing date.\n- `family_id`, `publication_nr` — optional exact-match filters.\n- `filing_date_from`, `filing_date_to` — optional filing-date range (YYYY-MM-DD).\n- `granted` — optional filter by grant status.\n\n## Response\n- `rows` — list of patents. Each row:\n  - `title`, `publication_nr`, `family_id`, `family_size`\n  - `earliest_filing_date`\n  - `high_value` — whether the patent is classified as high-value.\n  - `citing_family_count`, `cited_family_count`\n  - `patent_link`\n- `total` — total patents available.\n\nReturns `204 No Content` if the company has no patents.\n\n## Credits\nCharged a small flat fee per page (data credits).","operationId":"patent_list_v1_patents_list_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatentListRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatentListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/publications/analytics":{"post":{"tags":["Publications"],"summary":"Publication Analytics","description":"# Publications — Analytics\n\n**POST** `/v1/publications/analytics`\n\nPublication analytics for a company: total publications, how many rank among the most-cited worldwide, and breakdowns by year and research topic.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\n- `total_publications` — total number of publications attributed to the company\n- `top_1_percent_cited_share` — share of publications in the top 1% most-cited worldwide (0–1)\n- `top_10_percent_cited_share` — share of publications in the top 10% most-cited worldwide (0–1)\n- `publications_by_year` — list of `{year, works_count}`, newest first\n- `publications_by_topic` — list of `{topic, works_count}`, top research topics by publication count\n\nReturns `204 No Content` if the company has no publication data.\n\n## Credits\nCharged a flat fee per call (data credits).","operationId":"publication_analytics_v1_publications_analytics_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicationAnalytics"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/publications/authors":{"post":{"tags":["Publications"],"summary":"Publication Authors","description":"# Publications — Authors\n\n**POST** `/v1/publications/authors`\n\nThe researchers who publish most under the company, ranked by how many of their publications are attributed to it.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\nList of authors, each with:\n- `name`\n- `works_count` — the author's publications attributed to this company\n- `total_works_count` — all of the author's publications\n- `h_index`\n\nReturns `204 No Content` if the company has no publication data.\n\n## Credits\nCharged a flat fee per call (data credits).","operationId":"publication_authors_v1_publications_authors_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PublicationAuthor"},"type":"array","title":"Response Publication Authors V1 Publications Authors Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/publications/funders":{"post":{"tags":["Publications"],"summary":"Publication Funders","description":"# Publications — Funders\n\n**POST** `/v1/publications/funders`\n\nThe organizations that fund the company's research, ranked by the number of its publications they funded.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\nList of funders, each with:\n- `name`\n- `country` — two-letter ISO 3166-1 alpha-2 code\n- `works_count` — the company's publications this organization funded\n\nReturns `204 No Content` if the company has no publication data.\n\n## Credits\nCharged a flat fee per call (data credits).","operationId":"publication_funders_v1_publications_funders_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PublicationOrganization"},"type":"array","title":"Response Publication Funders V1 Publications Funders Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/publications/collaborating-organizations":{"post":{"tags":["Publications"],"summary":"Collaborating Organizations","description":"# Publications — Collaborating Organizations\n\n**POST** `/v1/publications/collaborating-organizations`\n\nThe institutions that co-author publications with the company, ranked by the number of publications they share.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\nList of organizations, each with:\n- `name`\n- `country` — two-letter ISO 3166-1 alpha-2 code\n- `works_count` — publications shared with the company\n\nReturns `204 No Content` if the company has no publication data.\n\n## Credits\nCharged a flat fee per call (data credits).","operationId":"publication_collaborating_organizations_v1_publications_collaborating_organizations_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PublicationOrganization"},"type":"array","title":"Response Publication Collaborating Organizations V1 Publications Collaborating Organizations Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/publications/top-cited-works":{"post":{"tags":["Publications"],"summary":"Top Cited Works","description":"# Publications — Top Cited Works\n\n**POST** `/v1/publications/top-cited-works`\n\nThe company's most-cited publications: works since 2010 that rank in the top 10% most-cited worldwide, 25 per page.\n\n## Request\n- `company_id` (required) — Company ID.\n- `page_no` (default 1) — page of results, 25 works per page.\n\n## Response\n- `results` — list of works, each with `title`, `year`, `doi`, `cited_by_count` and `citation_percentile`\n- `meta` — `count` (total works available), `page` and `per_page`\n\nReturns `204 No Content` if the company has no such works, or the page is past the last one.\n\n## Credits\nCharged a flat fee per page (data credits).","operationId":"publication_top_cited_works_v1_publications_top_cited_works_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopCitedWorksRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopCitedWorksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/risk-assessment/candidates":{"post":{"tags":["Risk Assessment"],"summary":"Risk Candidates","description":"# Risk Assessment — Candidates\n\n**POST** `/v1/risk-assessment/candidates`\n\nStep 1 of risk assessment. Resolves a company id to the candidate companies used for the data endpoints. If you already pass the exact target company id, a single matching candidate is returned.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\nList of candidates:\n- `candidate_id` — pass this to the data endpoints below.\n- `registration_number`, `name`, `country_code`, `url`, `age`, `size`\n\nReturns `204 No Content` if nothing matches.\n\n## Flow & credits\nPick a `candidate_id` and call any of the data endpoints:\n`financials`, `ownership`, `report`. This candidates step is **free**.","operationId":"risk_candidates_v1_risk_assessment_candidates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RiskCandidate"},"type":"array","title":"Response Risk Candidates V1 Risk Assessment Candidates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/risk-assessment/financials":{"post":{"tags":["Risk Assessment"],"summary":"Company Financials","description":"# Risk Assessment — Financials\n\n**POST** `/v1/risk-assessment/financials`\n\nYear-by-year financials for a selected candidate.\n\n## Request\n- `candidate_id` (required) — Candidate ID from candidates.\n\n## Response\nOne record per year, newest first. Each has `year` and that year's figures, e.g.\n`currency`, `reported_date`, `turnover`, `ebitda`, `operating_profit`, `profit_after_tax`,\n`total_assets`, `total_liabilities`, `net_assets`, `employee_numbers` and ratios such as\n`net_margin`. Every record has the same fields; a figure that was not reported is `null`.\n\nReturns `204 No Content` if no financials are available.\n\n## Credits\nCharged a small flat fee (data credits).","operationId":"risk_financials_v1_risk_assessment_financials_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyFinancials"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/risk-assessment/ownership":{"post":{"tags":["Risk Assessment"],"summary":"Company Ownership","description":"# Risk Assessment — Ownership\n\n**POST** `/v1/risk-assessment/ownership`\n\nShareholders and corporate ownership structure for a selected candidate.\n\n## Request\n- `candidate_id` (required) — Candidate ID from candidates.\n\n## Response\n- `shareholders` — list of `{id, name, quantity, currency, share_value, created_at, share_type, share_price}`\n- `ownership_structure` — list of `{nr, name, country_code, registration_number}` (hierarchical `nr`, e.g. \"1.\", \"1.1\")\n\nReturns `204 No Content` if no ownership data is available.\n\n## Credits\nCharged a small flat fee (data credits).","operationId":"risk_ownership_v1_risk_assessment_ownership_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ownership"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/risk-assessment/report":{"post":{"tags":["Risk Assessment"],"summary":"Risk Report","description":"# Risk Assessment — Risk Report\n\n**POST** `/v1/risk-assessment/report`\n\nThe risk assessment report for a selected candidate, returned together with the company's registration details.\n\n## Request\n- `candidate_id` (required) — Candidate ID from candidates.\n\n## Response\n- `risk_assessment_report` — per-category analysis text + overall risk (`low`/`medium`/`high`) for:\n  geopolitical exposure, sanctions & legal, financial health, regulatory & ethics, data privacy & cyber, ownership & governance\n- `company_details` — `registration_number`, `status`, `date_of_incorporation`, `national_legal_form`, `link_to_national_register`\n\nReturns `204 No Content` if no report is available.\n\n## Credits\nCharged a flat fee per report (data credits). It is the highest fee of the risk endpoints.","operationId":"risk_report_v1_risk_assessment_report_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RiskReport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/tender-awards/candidates":{"post":{"tags":["Tender Awards"],"summary":"Tender Award Candidates","description":"# Tender Awards — Candidates\n\n**POST** `/v1/tender-awards/candidates`\n\nStep 1 of tender awards. Tender awards are linked to registered legal entities, so a company ID first resolves to its candidates: the registered companies behind it, such as a parent and its national subsidiaries. If you already pass the exact target company ID, a single matching candidate is returned.\n\n## Request\n- `company_id` (required) — Company ID.\n\n## Response\nList of candidates:\n- `candidate_id` — pass this to the endpoints below.\n- `registration_number`, `name`, `country_code`, `url`, `age`, `size`\n\nCandidate IDs are the same as in risk assessment, so a `candidate_id` from either group works in both.\n\nReturns `204 No Content` if nothing matches.\n\n## Flow & credits\nPick a `candidate_id` and call `overview`, `buyers`, `partners` or `awards`. A candidate with no awards returns `204 No Content` there, at no cost, so try the next one. This candidates step is **free**.","operationId":"tender_candidates_v1_tender_awards_candidates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TenderCandidate"},"type":"array","title":"Response Tender Candidates V1 Tender Awards Candidates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/tender-awards/overview":{"post":{"tags":["Tender Awards"],"summary":"Tender Awards Overview","description":"# Tender Awards — Overview\n\n**POST** `/v1/tender-awards/overview`\n\nPublic contracts a company won, with the main breakdowns. Covers EU contract award notices from TED and US federal contracts from USAspending, awarded from 2025 onwards. Use it to size a company's public-sector business and see where and in which categories it wins.\n\n## Request\n- `candidate_id` (required) — from `candidates`.\n\n## Response\n- `summary` — `n_contracts`, `total_value_eur` and `avg_value_eur` for each source:\n  - `eu` — contracts won in the EU (TED).\n  - `us` — US federal prime contracts.\n  - `us_subawards` — US federal subcontracts. Reported on their own and not counted as contracts won.\n- `by_country` — contracts won by place of performance.\n- `eu_by_cpv` — EU contracts by CPV division (first two digits of the CPV code), with its name.\n- `us_by_psc` — US contracts by Product and Service Code, with its name.\n- `by_quarter` — contracts and value per quarter, split into `eu_*` and `us_*`, oldest first.\n\nAll values are in EUR. When an EU award states no awarded amount, the buyer's estimated value is used instead. For framework agreements that estimate is often the ceiling. `avg_value_eur` averages only the contracts that state a value.\n\nReturns `204 No Content` if the candidate has no awards.\n\n## Credits\nCharged a small flat fee per request (data credits).","operationId":"tender_overview_v1_tender_awards_overview_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TenderOverview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/tender-awards/buyers":{"post":{"tags":["Tender Awards"],"summary":"Tender Award Buyers","description":"# Tender Awards — Buyers\n\n**POST** `/v1/tender-awards/buyers`\n\nThe public bodies that award the company contracts. Use it to find a company's main customers in the public sector.\n\n## Request\n- `candidate_id` (required) — from `candidates`.\n\n## Response\n- `eu` — EU contracting authorities (TED).\n- `us` — US federal agencies (prime contracts only).\n\nEach holds two rankings of up to 10 buyers, `by_count` (number of contracts) and `by_value` (total contract value). Each buyer:\n- `name`, `country`\n- `n_contracts` — contracts this buyer awarded to the company.\n- `total_value_eur` — their combined value, in EUR.\n\nReturns `204 No Content` if the candidate has no awards.\n\n## Credits\nCharged a small flat fee per request (data credits).","operationId":"tender_buyers_v1_tender_awards_buyers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TenderBuyers"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/tender-awards/partners":{"post":{"tags":["Tender Awards"],"summary":"Tender Award Partners","description":"# Tender Awards — Partners\n\n**POST** `/v1/tender-awards/partners`\n\nWho the company wins public contracts with. In the EU these are the other members of a consortium that won the same award. In the US they are the subcontractors on the company's prime contracts, and the prime contractor on its subcontracts.\n\n## Request\n- `candidate_id` (required) — from `candidates`.\n\n## Response\nTwo rankings of up to 10 partners, `by_count` (shared contracts) and `by_value` (value of shared contracts). Each partner:\n- `name` — as written in the award.\n- `candidate_id` — the partner's company, usable with the other tender award endpoints and with risk assessment. `null` when the partner is not matched to one company.\n- `country`, `industry`\n- `n_contracts` — contracts shared with the company.\n- `total_value_eur` — the award value for EU consortia, the subcontract amount for US partners, in EUR.\n\nReturns `204 No Content` if the candidate has no awards. A company that always wins alone has empty rankings.\n\n## Credits\nCharged a small flat fee per request (data credits).","operationId":"tender_partners_v1_tender_awards_partners_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CandidateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TenderPartners"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}},"/v1/tender-awards/awards":{"post":{"tags":["Tender Awards"],"summary":"Tender Award List","description":"# Tender Awards — Award List\n\n**POST** `/v1/tender-awards/awards`\n\nThe individual awards behind the overview, newest first, each linked to its notice.\n\n## Request\n- `candidate_id` (required) — from `candidates`.\n- `page_no` (default 1) — page of results, 25 per page.\n\n## Response\n- `rows` — list of awards. Each row:\n  - `award_date` — YYYY-MM-DD.\n  - `title` — title of the notice.\n  - `source` — `ted` (EU), `usaspending` (US prime contract) or `usaspending_subaward` (US subcontract).\n  - `roles` — the company's role: `sole`, `leader` or `member` of a consortium (EU); `prime` or `subrecipient` (US).\n  - `place_countries` — places of performance.\n  - `value_eur` — contract value in EUR; the buyer's estimate when an EU award states no amount. `null` when neither is given.\n  - `buyers` — contracting authorities or agencies.\n  - `url` — link to the notice on TED or USAspending.\n- `total` — total awards.\n\nReturns `204 No Content` if the candidate has no awards or the page is past the end.\n\n## Credits\nCharged a small flat fee per page (data credits).","operationId":"tender_awards_v1_tender_awards_awards_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]},{"HTTPBearer":[]}]}}},"components":{"schemas":{"Age":{"type":"string","enum":["1-3 years","4-5 years","6-10 years","10+ years"],"title":"Age"},"Applicant":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Applicant name.","example":"Delta Tech Ltd."},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Two-letter ISO 3166-1 alpha-2 country code.","example":"GB"}},"type":"object","title":"Applicant"},"Award":{"properties":{"award_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Award Date","description":"Award date (YYYY-MM-DD).","example":"2026-09-17"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the contract notice.","example":"Standard Eurobarometer Surveys"},"source":{"type":"string","enum":["ted","usaspending","usaspending_subaward"],"title":"Source","description":"`ted` = EU contract award notice; `usaspending` = US federal prime contract; `usaspending_subaward` = US federal subcontract.","example":"ted"},"roles":{"items":{"type":"string","enum":["sole","leader","member","prime","subrecipient"]},"type":"array","title":"Roles","description":"The company's role: `sole` winner, consortium `leader` or `member` (EU); `prime` contractor or `subrecipient` (US).","example":["member"]},"place_countries":{"items":{"type":"string"},"type":"array","title":"Place Countries","description":"Places of performance, as ISO 3166-1 alpha-2 codes.","example":["BE"]},"value_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value Eur","description":"Contract value in EUR. Null when the award states none.","example":82500000.0},"buyers":{"items":{"type":"string"},"type":"array","title":"Buyers","description":"Contracting authorities or agencies.","example":["EP - European Parliament"]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Link to the award notice.","example":"https://ted.europa.eu/en/notice/-/detail/706220-2026"}},"type":"object","required":["source"],"title":"Award"},"AwardsRequest":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id","description":"Candidate ID returned by the candidates endpoint.","example":"EINHTMNLFGQ3WCMDFGM3TKNDEMRTGEUGC"},"page_no":{"type":"integer","minimum":1.0,"title":"Page No","description":"Page number (25 awards per page).","default":1,"example":1}},"type":"object","required":["candidate_id"],"title":"AwardsRequest"},"AwardsResponse":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/Award"},"type":"array","title":"Rows","description":"Awards for the requested page, newest first."},"total":{"type":"integer","title":"Total","description":"Total number of awards.","default":0,"example":6}},"type":"object","title":"AwardsResponse"},"Buyer":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Buyer name.","example":"EP - European Parliament"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Two-letter ISO 3166-1 alpha-2 country code.","example":"BE"},"n_contracts":{"type":"integer","title":"N Contracts","description":"Contracts this buyer awarded to the company.","default":0,"example":2},"total_value_eur":{"type":"number","title":"Total Value Eur","description":"Combined value of those contracts, in EUR.","default":0,"example":325817267.0}},"type":"object","title":"Buyer"},"BuyerRanking":{"properties":{"by_count":{"items":{"$ref":"#/components/schemas/Buyer"},"type":"array","title":"By Count","description":"Top 10 buyers by number of contracts."},"by_value":{"items":{"$ref":"#/components/schemas/Buyer"},"type":"array","title":"By Value","description":"Top 10 buyers by total contract value."}},"type":"object","title":"BuyerRanking"},"CandidateRequest":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id","description":"Candidate ID returned by the candidates endpoint.","example":"EINHTMNLFGQ3WCMDFGM3TKNDEMRTGEUGC"}},"type":"object","required":["candidate_id"],"title":"CandidateRequest"},"CategoryContracts":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code","description":"Category code.","example":"73"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Category name.","example":"Research and development services and related consultancy services"},"n_contracts":{"type":"integer","title":"N Contracts","description":"Contracts in this category.","default":0,"example":3},"total_value_eur":{"type":"number","title":"Total Value Eur","description":"Combined value of those contracts, in EUR.","default":0,"example":15989598.88}},"type":"object","title":"CategoryContracts"},"Citation":{"properties":{"company_patent_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Patent Title","description":"Title of the company's patent.","example":"Battery management system","x-group":"Company patent"},"company_patent_publication_nr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Patent Publication Nr","description":"Publication number of the company's patent.","example":"EP1234567A1","x-group":"Company patent"},"company_patent_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Patent Link","description":"Link to the company's patent.","example":"https://example.com/patent/EP1234567A1","x-group":"Company patent"},"related_patent_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Related Patent Title","description":"Title of the patent on the other side of the citation.","example":"Electric vehicle charging method","x-group":"Related patent"},"related_patent_publication_nr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Related Patent Publication Nr","description":"Publication number of the related patent.","example":"US20220300000A1","x-group":"Related patent"},"related_patent_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Related Patent Link","description":"Link to the related patent.","example":"https://example.com/patent/US20220300000A1","x-group":"Related patent"},"related_applicants":{"items":{"$ref":"#/components/schemas/Applicant"},"type":"array","title":"Related Applicants","description":"Applicants of the related patent.","x-group":"Related patent"},"citation_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Citation Date","description":"Date the citation was made (YYYY-MM-DD).","example":"2022-09-15","x-group":"Related patent"}},"type":"object","title":"Citation"},"CitationDirection":{"type":"string","enum":["incoming","outgoing"],"title":"CitationDirection"},"CitationOrganization":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Organization name.","example":"Gamma Industries Inc."},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Two-letter ISO 3166-1 alpha-2 country code.","example":"US"},"n_citations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Citations","description":"Number of citations between this organization and the company.","example":27},"sectors":{"items":{"type":"string"},"type":"array","title":"Sectors","description":"Technology sectors the organization is active in.","example":["Computer technology"]}},"type":"object","title":"CitationOrganization"},"CitationsRequest":{"properties":{"company_id":{"type":"string","title":"Company Id","description":"Company ID.","example":"C1ffe0198c4ca3a12"},"direction":{"$ref":"#/components/schemas/CitationDirection","description":"Citation direction. `incoming` = patents that cite this company's patents (who builds on it); `outgoing` = patents that this company's patents cite (what it builds on).","example":"incoming"},"page_no":{"type":"integer","maximum":400.0,"minimum":1.0,"title":"Page No","description":"Page number (25 citations per page, up to 400).","default":1,"example":1}},"type":"object","required":["company_id","direction"],"title":"CitationsRequest"},"CitationsResponse":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/Citation"},"type":"array","title":"Rows","description":"Citations for the requested page, newest first."},"total":{"type":"integer","title":"Total","description":"Total number of citations available in this direction.","default":0,"example":312}},"type":"object","title":"CitationsResponse"},"CitedWork":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Publication title.","example":"Deep learning for battery diagnostics"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year","description":"Publication year.","example":2021},"doi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doi","description":"Digital Object Identifier.","example":"https://doi.org/10.1000/example"},"cited_by_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cited By Count","description":"Number of times the work has been cited.","example":312},"citation_percentile":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Citation Percentile","description":"Normalized citation percentile (0-1); higher means more cited.","example":0.994}},"type":"object","title":"CitedWork"},"CompanyDataRequestItem":{"properties":{"company_ids":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Company Ids","description":"Array of company ids (up to 1000)"},"urls":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Urls","description":"Array of company URLs or domain addresses (up to 1000)"}},"type":"object","title":"CompanyDataRequestItem"},"CompanyDetails":{"properties":{"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number","description":"Official company registration number.","example":"HRB 12345"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"Registration status of the company.","example":"Active"},"date_of_incorporation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Of Incorporation","description":"Date the company was incorporated (YYYY-MM-DD).","example":"2008-04-15"},"national_legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"National Legal Form","description":"National legal form of the company.","example":"GmbH"},"link_to_national_register":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link To National Register","description":"Link to the company's entry in its national business register.","example":"https://www.handelsregister.de/"}},"type":"object","title":"CompanyDetails"},"CompanyEvent":{"properties":{"event_id":{"type":"string","title":"Event Id","description":"Unique identifier for the event."},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"Unique identifier of the company associated with the event, if resolved."},"event_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Date","description":"Date when the event occurred or was reported, in ISO 8601 format (YYYY-MM-DD)."},"event_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/EventType"},"type":"array"},{"type":"null"}],"title":"Event Types","description":"Categories of the event, e.g. 'Funding & investment' or 'Hiring'."},"sentence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sentence","description":"Short sentence summarizing the event, typically extracted from the source."},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context","description":"Optional sentence providing background or context related to the event."},"amount_euro":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Amount Euro","description":"Estimated amount in euros associated with the event (e.g., funding round)."},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Source URL or reference for the event (e.g., news article, press release)."}},"type":"object","required":["event_id"],"title":"CompanyEvent"},"CompanyFinancials":{"items":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"null"}]},"type":"object"},"type":"array","title":"CompanyFinancials","description":"Financials as one record per reporting year, newest first. Each record has an integer\n`year` plus the financial metrics (snake_cased, e.g. turnover, net_margin). The set of\nmetrics is consistent across years for a given company; values are null where not reported.","example":[{"currency":"EUR","net_margin":-2.93,"reported_date":"2024-12-31","turnover":436693000.0,"year":2024},{"currency":"EUR","net_margin":-11.1,"reported_date":"2023-12-31","turnover":423585000.0,"year":2023}]},"CompanyInsightRequest":{"properties":{"company_id":{"type":"string","title":"Company Id","description":"Company ID.","example":"C1ffe0198c4ca3a12"}},"type":"object","required":["company_id"],"title":"CompanyInsightRequest"},"CompanyLookupItem":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Company name to look up.","example":"OpenAI"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website","description":"Company website or domain name to look up.","example":"openai.com"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number","description":"Company registration number to look up.","example":"384375"},"country_code":{"anyOf":[{"$ref":"#/components/schemas/CountryCode"},{"type":"null"}],"description":"Restrict the lookup to companies headquartered in this country (ISO 3166-1 alpha-2 code).","example":"US"},"limit":{"type":"integer","exclusiveMinimum":0.0,"title":"Limit","description":"Maximum number of matching companies to return.","default":10,"example":10}},"type":"object","title":"CompanyLookupItem"},"CompanyLookupResponse":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/LookupCompany"},"type":"array","title":"Companies"},"search_id":{"type":"string","title":"Search Id"}},"type":"object","required":["companies","search_id"],"title":"CompanyLookupResponse"},"CompanyProfile":{"properties":{"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"Unique identifier for the company.","example":"C006509299db1e2ef","x-group":"Company"},"requested_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Url","description":"URL submitted in the request, if available.","x-group":"Company"},"status":{"anyOf":[{"$ref":"#/components/schemas/CompanyStatus"},{"type":"null"}],"description":"Status of the company, representing the result of processing and matching. Possible values:\n- 'ON_PLATFORM': The company's data is available on the platform.\n- 'PROCESSING': In Milda's fast processing pipeline (submitted for enrichment or being collected).\n- 'NOT_PROCESSED': No data yet: the website is new to Milda or waiting in its regular queue. Submit it for enrichment.\n- 'UNAVAILABLE': Milda could not collect data (website unreachable, blocked, or without usable text).\n- 'REDIRECT': The company's website redirects to another company's website; see `redirect_company_id` and `redirect_url`. No profile is returned for it.\n- 'NOT_FOUND': The company ID is not known (only company IDs; a URL is never NOT_FOUND).\n- 'INVALID_INPUT': The provided URL was malformed and could not be resolved.","example":"ON_PLATFORM","x-group":"Company"},"redirect_company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Company Id","description":"Set only when status is REDIRECT: the ID of the company the requested website redirects to.","example":"C00000537a665cac0","x-group":"Company"},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url","description":"Set only when status is REDIRECT: the website the requested website redirects to.","example":"https://seguros24h.es/","x-group":"Company"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Full name of the company.","example":"Acme Corporation","x-group":"Company"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website","description":"URL of the company's official website.","example":"https://www.acme.com","x-group":"Company"},"country":{"anyOf":[{"$ref":"#/components/schemas/CountryCode"},{"type":"null"}],"description":"Two-letter ISO 3166-1 country code representing the company's location.","example":"DE","x-group":"Company"},"milda_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Milda Link","description":"Link to the company's profile on Milda.ai.","example":"https://milda.ai/company/C006509299db1e2ef/key-facts","x-group":"Company"},"general_summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"General Summary","description":"Brief description or overview of the company.","example":"Acme Corporation specializes in renewable energy solutions and smart grid technologies.","x-group":"Activities"},"general_activities":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"General Activities","description":"List of business activities the company is involved in.","example":["solar energy development","battery storage solutions","smart grid integration"],"x-group":"Activities"},"value_chains":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Value Chains","description":"List of value chain segments the company participates in.","example":["Distribution & sales","Retail trade"],"x-group":"Activities"},"industry_nace2digit":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Industry Nace2Digit","description":"List of 2-digit NACE industry classification codes. Example: ['47', '62'] for Retail trade (47) and Computer programming (62).","example":["47","62"],"x-group":"Industry"},"industry_nace4digit":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Industry Nace4Digit","description":"List of 4-digit NACE industry classification codes. Example: ['4711', '6201'] for Retail sale in non-specialised stores with food (4711) and Computer programming activities (6201).","example":["4711","6201"],"x-group":"Industry"},"industry_sic":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Industry Sic","description":"List of US SIC (Standard Industrial Classification) codes. Example: ['804'] for Offices of health practitioners.","example":["804"],"x-group":"Industry"},"age":{"anyOf":[{"$ref":"#/components/schemas/Age"},{"type":"null"}],"description":"Company age category: '1-3 years', '4-5 years', '6-10 years' or '10+ years'.","example":"10+ years","x-group":"Size and age"},"size":{"anyOf":[{"$ref":"#/components/schemas/Size"},{"type":"null"}],"description":"Company size category based on employee count.","example":"10000+","x-group":"Size and age"},"turnover":{"anyOf":[{"$ref":"#/components/schemas/Turnover"},{"type":"null"}],"description":"Company turnover category based on annual revenue.","example":"100m+","x-group":"Size and age"},"locations":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Locations","description":"List of locations associated with the company, including their types and link intensity scores. Location types include 'country', 'region', and 'city'.","x-group":"Locations"},"emails":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Emails","description":"List of general contact email addresses for the company.","example":["info@acme.com","contact@acme.com"],"x-group":"Contact"},"social_media":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Social Media","description":"Social media presence of the company (e.g., LinkedIn, Twitter).","example":{"linkedin":"https://linkedin.com/company/acme-corp","twitter":"https://twitter.com/acmecorp"},"x-group":"Contact"},"iso":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Iso","description":"Dictionary of ISO standards found on the company's website.","example":{"ISO 14001":"Environmental management systems — Requirements with guidance for use","ISO 9001":"Quality management systems — Requirements"},"x-group":"Certifications"},"rank_score":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rank Score","description":"Momentum score assigned to the company.","example":"0.87","x-group":"Scores and freshness"},"timestamp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timestamp","description":"Timestamp of the last update to the company's data.","example":"2025-08-07T12:30:00Z","x-group":"Scores and freshness"}},"type":"object","title":"CompanyProfile"},"CompanyRequest":{"properties":{"company_id":{"type":"string","title":"Company Id","description":"Company ID.","example":"C1ffe0198c4ca3a12"}},"type":"object","required":["company_id"],"title":"CompanyRequest"},"CompanyStatus":{"type":"string","enum":["ON_PLATFORM","PROCESSING","NOT_PROCESSED","UNAVAILABLE","REDIRECT","NOT_FOUND","INVALID_INPUT"],"title":"CompanyStatus"},"CompanyStatusProfile":{"properties":{"requested_company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Company Id","description":"Company ID provided in the request, if available."},"requested_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Url","description":"Company website URL provided in the request, if available."},"requested_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Email","description":"Email address submitted in the request, if available."},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"Resolved or matched unique identifier for the company."},"status":{"anyOf":[{"$ref":"#/components/schemas/CompanyStatus"},{"type":"null"}],"description":"Status of the company, representing the result of processing and matching. Possible values:\n- 'ON_PLATFORM': The company's data is available on the platform.\n- 'PROCESSING': In Milda's fast processing pipeline (submitted for enrichment or being collected).\n- 'NOT_PROCESSED': No data yet: the website is new to Milda or waiting in its regular queue. Submit it for enrichment.\n- 'UNAVAILABLE': Milda could not collect data (website unreachable, blocked, or without usable text).\n- 'NOT_FOUND': The company ID is not known (only company IDs; a URL or email is never NOT_FOUND).\n- 'INVALID_INPUT': The provided URL or email was malformed and could not be resolved."},"status_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Details","description":"Set only when status is UNAVAILABLE: why Milda could not collect data from the website, in plain text.","example":"The website's domain does not resolve, so it may not exist."}},"type":"object","title":"CompanyStatusProfile"},"CompanyStatusRequestItem":{"properties":{"company_ids":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Company Ids","description":"Array of company ids (up to 1000)"},"urls":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Urls","description":"Array of company URLs or domain addresses (up to 1000)"},"emails":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Emails","description":"Array of company emails (up to 1000)"}},"type":"object","title":"CompanyStatusRequestItem"},"ContractSummary":{"properties":{"eu":{"$ref":"#/components/schemas/ContractTotals","description":"Contracts won in the EU (TED)."},"us":{"$ref":"#/components/schemas/ContractTotals","description":"US federal prime contracts won (USAspending)."},"us_subawards":{"$ref":"#/components/schemas/ContractTotals","description":"US federal subcontracts. Reported on their own and not counted as contracts won."}},"type":"object","title":"ContractSummary"},"ContractTotals":{"properties":{"n_contracts":{"type":"integer","title":"N Contracts","description":"Number of contracts.","default":0,"example":6},"total_value_eur":{"type":"number","title":"Total Value Eur","description":"Combined value of the contracts, in EUR.","default":0,"example":349881865.88},"avg_value_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Value Eur","description":"Average value of the contracts that state a value, in EUR. Null when none do.","example":58313644.31}},"type":"object","title":"ContractTotals"},"CountryCode":{"type":"string","enum":["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BQ","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CW","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","SZ","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KP","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MK","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SX","SK","SI","SB","SO","ZA","GS","SS","ES","LK","SD","SR","SJ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"],"title":"CountryCode"},"CountryContracts":{"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Two-letter ISO 3166-1 alpha-2 code of the place of performance.","example":"BE"},"n_contracts":{"type":"integer","title":"N Contracts","description":"Contracts performed in this country.","default":0,"example":4},"total_value_eur":{"type":"number","title":"Total Value Eur","description":"Combined value of those contracts, in EUR.","default":0,"example":15989598.88}},"type":"object","title":"CountryContracts"},"Credits":{"properties":{"enrichment":{"type":"number","title":"Enrichment","default":0},"data":{"type":"number","title":"Data","default":0}},"type":"object","title":"Credits"},"Department":{"type":"string","enum":["IT","Finance","Sales","Legal","Support","HR","Marketing","Communication","Education","Design","Health","Operations","Management","Executive"],"title":"Department"},"EnrichmentRequestItem":{"properties":{"company_ids":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Company Ids","description":"Array of company ids (up to 1000)"},"urls":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Urls","description":"Array of company URLs or domain addresses (up to 1000)"},"submit_redirects":{"type":"boolean","title":"Submit Redirects","description":"When a requested website redirects to another company's website, submit that company for enrichment (1 credit, like any other submission). Set to false to only report the redirect.","default":true}},"additionalProperties":false,"type":"object","title":"EnrichmentRequestItem"},"EnrichmentSubmission":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/SubmittedCompanyStatusProfile"},"type":"array","title":"Companies","description":"List of companies included in the enrichment request, along with their submission statuses."},"n_submitted":{"type":"integer","title":"N Submitted","description":"Total number of companies successfully submitted for enrichment."},"remaining_credits":{"type":"number","title":"Remaining Credits","description":"Enrichment credits left on your token after this request."}},"type":"object","required":["companies","n_submitted","remaining_credits"],"title":"EnrichmentSubmission"},"EventType":{"type":"string","enum":["Contracts & agreements","Financials","Funding & investment","Hiring","Intellectual property","Licensing & authorisation","Partnerships","Prizes & awards","Standards","Challenges","Other"],"title":"EventType"},"EventsDataRequestItem":{"properties":{"company_ids":{"items":{"type":"string"},"type":"array","maxItems":25,"title":"Company Ids","description":"List of up to 25 unique company identifiers to request event data for."},"urls":{"items":{"type":"string"},"type":"array","maxItems":25,"title":"Urls","description":"List of up to 25 company website URLs or domain names to identify companies."},"event_types":{"items":{"$ref":"#/components/schemas/EventType"},"type":"array","title":"Event Types","description":"List of event types to include in the results. If empty, all event types will be returned."},"exclude_event_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":100000},{"type":"null"}],"title":"Exclude Event Ids","description":"Optional list of event IDs to exclude from the results (up to 100,000 entries)."}},"type":"object","title":"EventsDataRequestItem"},"ExporterRecord":{"properties":{"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank","description":"Rank by trade volume within the result set.","example":1,"x-group":"Company"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"Candidate id of the exporter.","example":"9876543210","x-group":"Company"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Exporter company name.","example":"Shenzhen Electronics Co., Ltd.","x-group":"Company"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","description":"Exporter website domain.","example":"sz-electronics.com","x-group":"Company"},"country":{"anyOf":[{"$ref":"#/components/schemas/TradeCountry"},{"type":"null"}],"description":"Exporter country.","x-group":"Company"},"total_export_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Export Value","description":"Total export value across shipments (USD).","example":4500000.0,"x-group":"Volume"},"total_shipments":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Shipments","description":"Total number of shipments.","example":320,"x-group":"Volume"},"total_export_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Export Quantity","description":"Total exported quantity.","example":150000.0,"x-group":"Volume"},"total_weight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Weight","description":"Total shipment weight.","example":820000.0,"x-group":"Volume"},"export_countries":{"items":{"$ref":"#/components/schemas/TradeCountry"},"type":"array","title":"Export Countries","description":"Origin (exporter) countries.","x-group":"Routes"},"import_countries":{"items":{"$ref":"#/components/schemas/TradeCountry"},"type":"array","title":"Import Countries","description":"Destination (importer) countries.","x-group":"Routes"},"loading_ports":{"items":{"type":"string"},"type":"array","title":"Loading Ports","description":"Ports of loading.","example":["Shenzhen","Shanghai"],"x-group":"Routes"},"unloading_ports":{"items":{"type":"string"},"type":"array","title":"Unloading Ports","description":"Ports of unloading.","example":["Hamburg","Rotterdam"],"x-group":"Routes"},"products":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Products","description":"Free-text summary of products traded.","example":"Consumer electronics","x-group":"Products"}},"type":"object","title":"ExporterRecord"},"GetVerifiedEmailRequest":{"properties":{"person_id":{"type":"string","title":"Person Id","description":"Person ID from a People Search result."}},"type":"object","required":["person_id"],"title":"GetVerifiedEmailRequest"},"GrowthSignal":{"properties":{"date_display":{"type":"string","title":"Date Display","description":"Human-readable date of the signal, as precise as the sources allow.","example":"March 2024"},"sort_date":{"type":"string","title":"Sort Date","description":"Normalized date for sorting, in ISO 8601 format (YYYY-MM-DD).","example":"2024-03-01"},"title":{"type":"string","title":"Title","description":"Short headline for the signal.","example":"Series B funding round closed"},"description":{"type":"string","title":"Description","description":"One- to two-sentence summary of what happened.","example":"Raised EUR 24 million led by Acme Ventures to scale its European manufacturing capacity."},"category":{"type":"string","title":"Category","description":"Signal category: `Funding`, `Partnership`, `Product`, `Contract`, `IP`, `Award`, `Leadership`, `Expansion`, `Financials`, `Hiring` or `Other`.","example":"Funding"},"importance":{"type":"integer","title":"Importance","description":"How significant the signal is: 1 (minor), 2 (notable) or 3 (major).","example":3},"source_urls":{"items":{"type":"string"},"type":"array","title":"Source Urls","description":"Source URLs the signal was derived from.","example":["https://www.acme.com/news/series-b"]}},"type":"object","required":["date_display","sort_date","title","description","category","importance"],"title":"GrowthSignal"},"GrowthSignals":{"properties":{"headline":{"type":"string","title":"Headline","description":"One-sentence summary of the company's recent trajectory across all signals.","example":"Acme is scaling European manufacturing after a EUR 24 million round and two OEM contracts."},"signals":{"items":{"$ref":"#/components/schemas/GrowthSignal"},"type":"array","title":"Signals","description":"Growth signals, newest first."}},"type":"object","required":["headline"],"title":"GrowthSignals"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ImporterRecord":{"properties":{"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank","description":"Rank by trade volume within the result set.","example":1,"x-group":"Company"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"Candidate id of the importer.","example":"1234567890","x-group":"Company"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Importer company name.","example":"Acme GmbH","x-group":"Company"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","description":"Importer website domain.","example":"acme.com","x-group":"Company"},"country":{"anyOf":[{"$ref":"#/components/schemas/TradeCountry"},{"type":"null"}],"description":"Importer country.","x-group":"Company"},"total_import_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Import Value","description":"Total import value across shipments (USD).","example":3800000.0,"x-group":"Volume"},"total_shipments":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Shipments","description":"Total number of shipments.","example":280,"x-group":"Volume"},"total_import_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Import Quantity","description":"Total imported quantity.","example":120000.0,"x-group":"Volume"},"total_weight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Weight","description":"Total shipment weight.","example":640000.0,"x-group":"Volume"},"export_countries":{"items":{"$ref":"#/components/schemas/TradeCountry"},"type":"array","title":"Export Countries","description":"Origin (exporter) countries.","x-group":"Routes"},"import_countries":{"items":{"$ref":"#/components/schemas/TradeCountry"},"type":"array","title":"Import Countries","description":"Destination (importer) countries.","x-group":"Routes"},"loading_ports":{"items":{"type":"string"},"type":"array","title":"Loading Ports","description":"Ports of loading.","example":["Shenzhen","Shanghai"],"x-group":"Routes"},"unloading_ports":{"items":{"type":"string"},"type":"array","title":"Unloading Ports","description":"Ports of unloading.","example":["Hamburg","Rotterdam"],"x-group":"Routes"},"products":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Products","description":"Free-text summary of products traded.","example":"Consumer electronics","x-group":"Products"}},"type":"object","title":"ImporterRecord"},"LookupCompany":{"properties":{"company_id":{"type":"string","title":"Company Id","description":"Unique identifier for the company.","example":"C1ffe0198c4ca3a12"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Full name of the company.","example":"OpenAI"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"URL of the company's official website.","example":"openai.com"},"country_code":{"anyOf":[{"$ref":"#/components/schemas/CountryCode"},{"type":"null"}],"description":"Company's country, as a two-letter ISO 3166-1 alpha-2 code.","example":"US"},"size":{"anyOf":[{"$ref":"#/components/schemas/Size"},{"type":"null"}],"description":"Company size category based on employee count.","example":"250-999"}},"type":"object","required":["company_id"],"title":"LookupCompany"},"Ownership":{"properties":{"shareholders":{"items":{"$ref":"#/components/schemas/ShareholderItem"},"type":"array","title":"Shareholders","description":"Direct shareholders of the company."},"ownership_structure":{"items":{"$ref":"#/components/schemas/OwnershipStructureRow"},"type":"array","title":"Ownership Structure","description":"Hierarchical corporate ownership / group structure."}},"type":"object","title":"Ownership"},"OwnershipStructureRow":{"properties":{"nr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nr","description":"Hierarchical position in the ownership tree (e.g. '1.', '1.1').","example":"1.1"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Entity name.","example":"Acme Holding GmbH"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"Two-letter ISO 3166-1 alpha-2 country code.","example":"DE"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number","description":"Entity registration number.","example":"HRB 67890"}},"type":"object","title":"OwnershipStructureRow"},"PageMeta":{"properties":{"count":{"type":"integer","title":"Count","description":"Total number of top-cited works available.","default":0,"example":87},"page":{"type":"integer","title":"Page","description":"Current page number.","default":1,"example":1},"per_page":{"type":"integer","title":"Per Page","description":"Works per page.","default":25,"example":25}},"type":"object","title":"PageMeta"},"Partner":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Partner name as written in the award.","example":"VISIONARY ANALYTIC"},"candidate_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Candidate Id","description":"Candidate ID of the partner's company, usable with the tender award and risk assessment endpoints. Null when the partner is not matched to one company.","example":"EINHTMNLFGQ3WCMDFGM3TKNDEMRTGEUGC"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Two-letter ISO 3166-1 alpha-2 country code.","example":"LT"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry","description":"The partner's main industry.","example":"Other Professional Services"},"n_contracts":{"type":"integer","title":"N Contracts","description":"Contracts shared with the company.","default":0,"example":2},"total_value_eur":{"type":"number","title":"Total Value Eur","description":"Combined value of the shared contracts, in EUR: the award value for EU consortia, the subcontract amount for US partners.","default":0,"example":255317267.0}},"type":"object","title":"Partner"},"PatentEntity":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Entity name.","example":"Beta Research GmbH"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Two-letter ISO 3166-1 alpha-2 country code.","example":"DE"},"n_patents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Patents","description":"Number of the company's patents this co-applicant or inventor appears on.","example":12},"sectors":{"items":{"type":"string"},"type":"array","title":"Sectors","description":"Technology sectors the entity is active in.","example":["Electrical machinery","Computer technology"]}},"type":"object","title":"PatentEntity"},"PatentListRequest":{"properties":{"company_id":{"type":"string","title":"Company Id","description":"Company ID.","example":"C1ffe0198c4ca3a12","x-group":"Company"},"family_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family Id","description":"Filter by patent family id.","example":"56789012","x-group":"Filters"},"publication_nr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publication Nr","description":"Filter by publication number.","example":"EP1234567A1","x-group":"Filters"},"filing_date_from":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filing Date From","description":"Earliest filing date (YYYY-MM-DD).","example":"2018-01-01","x-group":"Filters"},"filing_date_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filing Date To","description":"Latest filing date (YYYY-MM-DD).","example":"2023-12-31","x-group":"Filters"},"granted":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Granted","description":"Filter by grant status.","example":true,"x-group":"Filters"},"sort_order":{"type":"string","enum":["asc","desc"],"title":"Sort Order","description":"Sort by filing date: 'asc' or 'desc'.","default":"desc","example":"desc","x-group":"Results"},"page_no":{"type":"integer","maximum":400.0,"minimum":1.0,"title":"Page No","description":"Page number (25 patents per page, up to 400).","default":1,"example":1,"x-group":"Results"}},"type":"object","required":["company_id"],"title":"PatentListRequest"},"PatentListResponse":{"properties":{"rows":{"items":{"$ref":"#/components/schemas/PatentRow"},"type":"array","title":"Rows","description":"The company's patents for the requested page."},"total":{"type":"integer","title":"Total","description":"Total number of patents available.","default":0,"example":128}},"type":"object","title":"PatentListResponse"},"PatentRow":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Patent title.","example":"Battery management system"},"publication_nr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publication Nr","description":"Patent publication number.","example":"EP1234567A1"},"family_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Family Id","description":"Patent family id.","example":"56789012"},"earliest_filing_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Earliest Filing Date","description":"Earliest filing date in the family (YYYY-MM-DD).","example":"2019-03-21"},"family_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Family Size","description":"Number of patents in the family.","example":5},"high_value":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"High Value","description":"Whether the patent is classified as high-value.","example":true},"citing_family_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Citing Family Count","description":"Number of patent families citing this patent.","example":14},"cited_family_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Cited Family Count","description":"Number of patent families this patent cites.","example":8},"patent_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Patent Link","description":"Link to the patent.","example":"https://example.com/patent/EP1234567A1"}},"type":"object","title":"PatentRow"},"PatentSummary":{"properties":{"n_patents":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"N Patents","description":"Total number of patents for the company.","example":128},"avg_family_size":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Avg Family Size","description":"Average patent family size.","example":3.4},"share_cited_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Share Cited Pct","description":"Percentage of patents that have been cited.","example":61.5},"share_high_value_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Share High Value Pct","description":"Percentage of patents classified as high-value.","example":24.0},"filings_per_year":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Filings Per Year","description":"Per-year filing counts: {year: {'granted': int, 'not_granted': int}}.","example":{"2021":{"granted":14,"not_granted":8},"2022":{"granted":9,"not_granted":9}}},"offices":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Offices","description":"Per patent-office counts: {office_code: {'granted': int, 'not_granted': int}}.","example":{"EP":{"granted":40,"not_granted":12},"US":{"granted":31,"not_granted":8}}}},"type":"object","title":"PatentSummary"},"PeopleSearchRequest":{"properties":{"company_filters":{"$ref":"#/components/schemas/PersonCompanyFilters"},"person_filters":{"$ref":"#/components/schemas/PersonFilters"}},"type":"object","required":["person_filters","company_filters"],"title":"PeopleSearchRequest"},"Person":{"properties":{"person_id":{"type":"string","title":"Person Id","description":"Unique identifier for the person.","x-group":"Person"},"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name","description":"Person's complete full name.","x-group":"Person"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"Person's first name.","x-group":"Person"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Person's last name.","x-group":"Person"},"position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position","description":"Current job title or position.","x-group":"Person"},"seniority":{"anyOf":[{"$ref":"#/components/schemas/SeniorityLevel"},{"type":"null"}],"description":"Job seniority level category.","x-group":"Person"},"department":{"anyOf":[{"$ref":"#/components/schemas/Department"},{"type":"null"}],"description":"Work department or functional area.","x-group":"Person"},"person_location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Person Location","description":"Person's current location or city.","x-group":"Person"},"person_country":{"anyOf":[{"$ref":"#/components/schemas/CountryCode"},{"type":"null"}],"description":"Person's country of residence.","x-group":"Person"},"email_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Status","description":"Status of email availability or verification.","x-group":"Contact"},"linkedin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linkedin","description":"LinkedIn profile URL.","x-group":"Contact"},"social_media":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Social Media","description":"Dictionary of social media platform URLs.","x-group":"Contact"},"about_me":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"About Me","description":"Professional summary or bio description.","x-group":"Background"},"present_experience":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Present Experience","description":"List of current job experiences and roles.","x-group":"Background"},"past_experience":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Past Experience","description":"List of previous job experiences and roles.","x-group":"Background"},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"Unique identifier of the associated company.","x-group":"Company"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Name of the associated company.","x-group":"Company"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Website URL of the associated company.","x-group":"Company"},"country":{"anyOf":[{"$ref":"#/components/schemas/CountryCode"},{"type":"null"}],"description":"Country where the company is based.","x-group":"Company"},"industry_nace2digit":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Industry Nace2Digit","description":"List of 2-digit NACE industry classification codes for the company.","x-group":"Company"},"industry_nace4digit":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Industry Nace4Digit","description":"List of 4-digit NACE industry classification codes for the company.","x-group":"Company"},"industry_nace4name":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Industry Nace4Name","description":"List of 4-digit NACE industry names for the company.","x-group":"Company"},"age":{"anyOf":[{"$ref":"#/components/schemas/Age"},{"type":"null"}],"description":"Company age category.","x-group":"Company"},"size":{"anyOf":[{"$ref":"#/components/schemas/Size"},{"type":"null"}],"description":"Company size category based on employee count.","x-group":"Company"},"turnover":{"anyOf":[{"$ref":"#/components/schemas/Turnover"},{"type":"null"}],"description":"Company revenue/turnover category.","x-group":"Company"},"relevance_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Relevance Score","description":"Relevance score based on search query matching.","x-group":"Scores"},"rank_score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rank Score","description":"Ranking score for result ordering.","x-group":"Scores"}},"type":"object","required":["person_id"],"title":"Person"},"PersonCompanyFilters":{"properties":{"company_ids":{"items":{"type":"string"},"type":"array","maxItems":25,"title":"Company Ids","description":"Specific company IDs to include (max 25)","x-group":"Companies"},"urls":{"items":{"type":"string"},"type":"array","maxItems":25,"title":"Urls","description":"Company domains or URLs to include (max 25). Combined with company_ids.","x-group":"Companies"},"countries":{"anyOf":[{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Countries","description":"Include companies from these countries","x-group":"Location"},"exclude_countries":{"anyOf":[{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Exclude Countries","description":"Exclude companies from these countries","x-group":"Location"},"locations":{"anyOf":[{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Locations","description":"Include companies active in these locations","x-group":"Location"},"locations_not":{"anyOf":[{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Locations Not","description":"Exclude companies active in these locations","x-group":"Location"},"industries_nace2digit":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Industries Nace2Digit","description":"Include companies in these NACE2 industry codes","x-group":"Industry"},"exclude_industries_nace2digit":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Exclude Industries Nace2Digit","description":"Exclude companies in these NACE2 industry codes","x-group":"Industry"},"industries_nace4digit":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Industries Nace4Digit","description":"Include companies in these NACE4 industry codes","x-group":"Industry"},"exclude_industries_nace4digit":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Exclude Industries Nace4Digit","description":"Exclude companies in these NACE4 industry codes","x-group":"Industry"},"industries_sic":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Industries Sic","description":"Include companies in these SIC industry codes","x-group":"Industry"},"exclude_industries_sic":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Exclude Industries Sic","description":"Exclude companies in these SIC industry codes","x-group":"Industry"},"age":{"anyOf":[{"items":{"$ref":"#/components/schemas/Age"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Age","description":"Company age categories to include","x-group":"Size and age"},"size":{"anyOf":[{"items":{"$ref":"#/components/schemas/Size"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Size","description":"Company size categories to include","x-group":"Size and age"},"turnover":{"anyOf":[{"items":{"$ref":"#/components/schemas/Turnover"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Turnover","description":"Company revenue categories to include","x-group":"Size and age"}},"type":"object","title":"PersonCompanyFilters"},"PersonFilters":{"properties":{"person_ids":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Person Ids","description":"Specific person IDs to include (max 1000)","x-group":"People"},"exclude_person_ids":{"items":{"type":"string"},"type":"array","maxItems":100000,"title":"Exclude Person Ids","description":"Person IDs to exclude from results (max 100k)","x-group":"People"},"seniority":{"anyOf":[{"items":{"$ref":"#/components/schemas/SeniorityLevel"},"type":"array"},{"type":"null"}],"title":"Seniority","description":"Job seniority levels to include","x-group":"Role"},"department":{"anyOf":[{"items":{"$ref":"#/components/schemas/Department"},"type":"array"},{"type":"null"}],"title":"Department","description":"Work departments to include","x-group":"Role"},"term_must_match_job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Term Must Match Job Title","description":"Required term in job title","x-group":"Role"},"term_must_not_match_job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Term Must Not Match Job Title","description":"Excluded term in job title","x-group":"Role"},"term_must_match_current_job_experience":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Term Must Match Current Job Experience","description":"Required term in current job description","x-group":"Experience"},"term_must_match_past_job_experience":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Term Must Match Past Job Experience","description":"Required term in previous job description","x-group":"Experience"},"countries":{"anyOf":[{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Countries","description":"Include people from these countries","x-group":"Location and presence"},"has_linkedin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Linkedin","description":"true: only people with a LinkedIn profile; false: only people without one.","x-group":"Location and presence"}},"type":"object","title":"PersonFilters"},"PlaceOfPerformance":{"properties":{"country":{"type":"string","title":"Country","description":"Country where the company performs activities (English country name).","example":"Germany"},"summary":{"type":"string","title":"Summary","description":"What the company does in this country.","example":"Operates its main production site near Stuttgart, supplying drivetrain components to European car makers."},"highlights":{"items":{"type":"string"},"type":"array","title":"Highlights","description":"Durable facts backing the summary, such as sites, subsidiaries, licences or long-running contracts.","example":["Production plant in Stuttgart since 2004","Regional sales office in Munich"]},"sources":{"items":{"type":"string"},"type":"array","title":"Sources","description":"Source URLs used for this country. Empty when the country was derived from the company's own content.","example":["https://www.acme.com/locations"]}},"type":"object","required":["country","summary"],"title":"PlaceOfPerformance"},"PlacesOfPerformance":{"properties":{"company_scope":{"type":"string","title":"Company Scope","description":"Geographic scope of the company's operations: `single_country` (clearly operates in one country), `multinational` (operates in several) or `unknown` (not enough evidence).","example":"multinational"},"default_country":{"type":"string","title":"Default Country","description":"Primary/home country (English country name) assumed for activities that carry no explicit location, usually the headquarters country. `unknown` when no country can be justified.","example":"Germany"},"countries":{"items":{"$ref":"#/components/schemas/PlaceOfPerformance"},"type":"array","title":"Countries","description":"Countries the company operates in and what it does in each."}},"type":"object","required":["company_scope","default_country"],"title":"PlacesOfPerformance"},"Product":{"properties":{"name":{"type":"string","title":"Name","description":"Product or service name, as the company presents it.","example":"PERGRIP™ Sodium Formate Deicer"},"description":{"type":"string","title":"Description","description":"What the product or service is and what it is used for.","example":"Sodium formate-based deicing material used to remove ice from roads, runways, bridges, and other paved surfaces."},"client_segments":{"items":{"type":"string"},"type":"array","title":"Client Segments","description":"Kinds of companies that would buy this product: customer segments, not named companies. Pass one as the `keyword` of `POST /v1/companies/text-search` to find companies in that segment.","example":["Airport runway maintenance contractors","Municipal winter road maintenance authorities"]}},"type":"object","required":["name","description"],"title":"Product"},"ProductsReport":{"properties":{"products":{"items":{"$ref":"#/components/schemas/Product"},"type":"array","title":"Products","description":"The company's products and services, each with the client segments it serves."}},"type":"object","title":"ProductsReport"},"PublicationAnalytics":{"properties":{"total_publications":{"type":"integer","title":"Total Publications","description":"Total number of publications attributed to the company.","default":0,"example":1280},"top_1_percent_cited_share":{"type":"number","title":"Top 1 Percent Cited Share","description":"Share of publications in the top 1% most-cited worldwide (0-1).","default":0.0,"example":0.05},"top_10_percent_cited_share":{"type":"number","title":"Top 10 Percent Cited Share","description":"Share of publications in the top 10% most-cited worldwide (0-1).","default":0.0,"example":0.21},"publications_by_year":{"items":{"$ref":"#/components/schemas/PublicationYearCount"},"type":"array","title":"Publications By Year","description":"Publication counts per year, newest first."},"publications_by_topic":{"items":{"$ref":"#/components/schemas/PublicationTopicCount"},"type":"array","title":"Publications By Topic","description":"Top research topics by publication count."}},"type":"object","title":"PublicationAnalytics"},"PublicationAuthor":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Author name.","example":"Jane Doe"},"total_works_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Works Count","description":"Author's total number of publications across all affiliations.","example":210},"works_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Works Count","description":"Author's publications attributed to this company.","example":48},"h_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"H Index","description":"Author's h-index.","example":32}},"type":"object","title":"PublicationAuthor"},"PublicationOrganization":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Organization name.","example":"European Research Council"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Two-letter ISO 3166-1 alpha-2 country code.","example":"BE"},"works_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Works Count","description":"Number of the company's publications linked to this organization.","example":64}},"type":"object","title":"PublicationOrganization"},"PublicationTopicCount":{"properties":{"topic":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Topic","description":"Research topic name.","example":"Artificial Intelligence"},"works_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Works Count","description":"Number of publications in that topic.","example":37}},"type":"object","title":"PublicationTopicCount"},"PublicationYearCount":{"properties":{"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year","description":"Publication year.","example":2023},"works_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Works Count","description":"Number of publications in that year.","example":42}},"type":"object","title":"PublicationYearCount"},"QuarterContracts":{"properties":{"quarter":{"type":"string","title":"Quarter","description":"Calendar quarter of the award date.","example":"2026-Q3"},"eu_n_contracts":{"type":"integer","title":"Eu N Contracts","description":"EU contracts awarded in the quarter.","default":0,"example":1},"eu_value_eur":{"type":"number","title":"Eu Value Eur","description":"Value of those EU contracts, in EUR.","default":0,"example":82500000.0},"us_n_contracts":{"type":"integer","title":"Us N Contracts","description":"US federal prime contracts awarded in the quarter.","default":0,"example":0},"us_value_eur":{"type":"number","title":"Us Value Eur","description":"Value of those US contracts, in EUR.","default":0,"example":0.0}},"type":"object","required":["quarter"],"title":"QuarterContracts"},"RiskAssessmentReport":{"properties":{"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"Candidate ID the report was generated for.","example":"EINHTMNLFGQ3WCMDFGM3TKNDEMRTGEUGC","x-group":"Company"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name","description":"Company name.","example":"Acme Corporation","x-group":"Company"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","description":"Company country.","example":"Germany","x-group":"Company"},"geopolitical_exposure_overall_risk":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geopolitical Exposure Overall Risk","description":"Overall geopolitical exposure risk: 'low', 'medium', or 'high'.","example":"low","x-group":"Geopolitical exposure"},"geopolitical_exposure":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geopolitical Exposure","description":"Analysis of geopolitical exposure (e.g. ties to high-risk jurisdictions).","example":"No significant exposure to sanctioned jurisdictions identified.","x-group":"Geopolitical exposure"},"sanctions_and_legal_overall_risk":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sanctions And Legal Overall Risk","description":"Overall sanctions & legal risk: 'low', 'medium', or 'high'.","example":"low","x-group":"Sanctions and legal"},"sanctions_and_legal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sanctions And Legal","description":"Analysis of sanctions listings and legal/litigation exposure.","example":"No matches on global sanctions lists; no material litigation found.","x-group":"Sanctions and legal"},"financial_health_overall_risk":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Financial Health Overall Risk","description":"Overall financial health risk: 'low', 'medium', or 'high'.","example":"medium","x-group":"Financial health"},"financial_health":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Financial Health","description":"Analysis of solvency, liquidity and revenue trends.","example":"Stable revenue with healthy liquidity over the last three years.","x-group":"Financial health"},"regulatory_ethics_overall_risk":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regulatory Ethics Overall Risk","description":"Overall regulatory & ethics risk: 'low', 'medium', or 'high'.","example":"low","x-group":"Regulatory and ethics"},"regulatory_ethics":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regulatory Ethics","description":"Analysis of regulatory and ethics concerns.","example":"No regulatory sanctions or ethics flags identified.","x-group":"Regulatory and ethics"},"data_privacy_cyber_overall_risk":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Privacy Cyber Overall Risk","description":"Overall data privacy & cyber risk: 'low', 'medium', or 'high'.","example":"low","x-group":"Data privacy and cyber"},"data_privacy_cyber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Privacy Cyber","description":"Analysis of data privacy and cybersecurity incidents (e.g. GDPR fines, breaches).","example":"No reported data breaches or GDPR penalties.","x-group":"Data privacy and cyber"},"ownership_governance_overall_risk":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ownership Governance Overall Risk","description":"Overall ownership & governance risk: 'low', 'medium', or 'high'.","example":"low","x-group":"Ownership and governance"},"ownership_governance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ownership Governance","description":"Analysis of ownership and governance risks (e.g. parent-company exposure).","example":"Ownership is transparent with no high-risk parent entities.","x-group":"Ownership and governance"}},"additionalProperties":true,"type":"object","title":"RiskAssessmentReport"},"RiskCandidate":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id","description":"Candidate ID. Pass this to the data endpoints.","example":"EINHTMNLFGQ3WCMDFGM3TKNDEMRTGEUGC"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Company name.","example":"Acme Corporation"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number","description":"Official company registration number.","example":"HRB 12345"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"Two-letter ISO 3166-1 alpha-2 country code.","example":"DE"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Company website URL.","example":"https://www.acme.com"},"age":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age","description":"Company age category.","example":"10+ years"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size","description":"Company size category by employee count.","example":"250-999"}},"type":"object","required":["candidate_id"],"title":"RiskCandidate"},"RiskReport":{"properties":{"risk_assessment_report":{"anyOf":[{"$ref":"#/components/schemas/RiskAssessmentReport"},{"type":"null"}],"description":"The generated risk assessment report."},"company_details":{"anyOf":[{"$ref":"#/components/schemas/CompanyDetails"},{"type":"null"}],"description":"Company registration details, returned alongside the report."}},"type":"object","title":"RiskReport"},"SearchCompany":{"properties":{"rank":{"type":"integer","title":"Rank","description":"Position of the company in the search results, ranked by relevance.","example":1},"company_id":{"type":"string","title":"Company Id","description":"Unique identifier for the company.","example":"C1ffe0198c4ca3a12"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Full name of the company.","example":"OpenAI"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"URL of the company's official website.","example":"openai.com"},"country_code":{"anyOf":[{"$ref":"#/components/schemas/CountryCode"},{"type":"null"}],"description":"Company's country, as a two-letter ISO 3166-1 alpha-2 code.","example":"US"},"size":{"anyOf":[{"$ref":"#/components/schemas/Size"},{"type":"null"}],"description":"Company size category based on employee count.","example":"250-999"},"market_segments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Market Segments","description":"Market segments the company was found under. Milda expands your query into related market segments and lists each one that matched this company.","example":["battery recycling","lithium-ion battery material recovery"]}},"type":"object","required":["rank","company_id"],"title":"SearchCompany"},"SeniorityLevel":{"type":"string","enum":["Board","C-Suite","Director","Founder","Head","Lead","Manager","Owner","Partner","President","Principal","Senior","VP"],"title":"SeniorityLevel"},"ShareholderItem":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Shareholder name.","example":"Acme Holding GmbH"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id","description":"Shareholder identifier.","example":1},"share_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Type","description":"Type/class of shares.","example":"Ordinary"},"quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quantity","description":"Number of shares held.","example":5000},"share_value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Value","description":"Total value of the held shares.","example":"50000"},"share_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Share Price","description":"Price per share.","example":10.0},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"Currency of the share value/price.","example":"EUR"},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","description":"Date the shareholding was recorded (YYYY-MM-DD).","example":"2021-06-30"}},"type":"object","title":"ShareholderItem"},"ShippingRecord":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"Unique shipment record identifier.","example":"SR-987654","x-group":"Shipment"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"Record direction: 'imp' (import) or 'exp' (export).","example":"imp","x-group":"Shipment"},"bydate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bydate","description":"Shipment date as an integer in YYYYMMDD form.","example":20230615,"x-group":"Shipment"},"transport_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transport Type","description":"Mode of transport.","example":"Sea","x-group":"Shipment"},"is_shipping":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Is Shipping","description":"Whether the record is a shipping (sea) record (1) or not (0).","example":1,"x-group":"Shipment"},"export_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Id","description":"Candidate id of the exporter (shipper).","example":"9876543210","x-group":"Exporter"},"shipper_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Shipper Name","description":"Name of the shipper (exporter).","example":"Shenzhen Electronics Co., Ltd.","x-group":"Exporter"},"country_exp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Exp","description":"Exporter country (two-letter ISO 3166-1 alpha-2 code where resolvable).","example":"CN","x-group":"Exporter"},"country_exp_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Exp En","description":"Exporter country name in English.","example":"China","x-group":"Exporter"},"country_exp_cn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Exp Cn","description":"Exporter country name in Chinese.","example":"中国","x-group":"Exporter"},"start_port":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Port","description":"Port of loading.","example":"Shenzhen","x-group":"Exporter"},"import_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Import Id","description":"Candidate id of the importer (consignee).","example":"1234567890","x-group":"Importer"},"consignee_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consignee Name","description":"Name of the consignee (importer).","example":"Acme GmbH","x-group":"Importer"},"country_imp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Imp","description":"Importer country (two-letter ISO 3166-1 alpha-2 code where resolvable).","example":"DE","x-group":"Importer"},"country_imp_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Imp En","description":"Importer country name in English.","example":"Germany","x-group":"Importer"},"country_imp_cn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Imp Cn","description":"Importer country name in Chinese.","example":"德国","x-group":"Importer"},"end_port":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Port","description":"Port of unloading.","example":"Hamburg","x-group":"Importer"},"products":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Products","description":"Free-text description of the shipped products.","example":"Laptop computers, 14-inch","x-group":"Goods"},"brands":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brands","description":"Brands associated with the shipment.","example":"Acme","x-group":"Goods"},"hs_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hs Code","description":"Harmonized System (HS) commodity code.","example":"847130","x-group":"Goods"},"hs_code_desc":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hs Code Desc","description":"Description of the HS commodity code.","example":"Portable automatic data processing machines","x-group":"Goods"},"or_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Or Country","description":"Country of origin of the goods.","example":"CN","x-group":"Goods"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount","description":"Declared customs value of the shipment (USD).","example":125000.0,"x-group":"Goods"},"manifest_qty":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Manifest Qty","description":"Quantity declared on the manifest.","example":500.0,"x-group":"Goods"},"manifest_units":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Manifest Units","description":"Unit of the manifest quantity.","example":"PCS","x-group":"Goods"},"weight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Weight","description":"Shipment weight.","example":8200.0,"x-group":"Goods"},"weight_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Weight Unit","description":"Unit of the shipment weight.","example":"KG","x-group":"Goods"}},"type":"object","title":"ShippingRecord"},"Size":{"type":"string","enum":["<10","10-49","50-249","250-999","1000-9999","10000+"],"title":"Size"},"SubmittedCompanyStatusProfile":{"properties":{"requested_company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Company Id","description":"Company ID provided in the request, if available."},"requested_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Url","description":"Company website URL provided in the request, if available."},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"ID of the company this row describes. If the requested website redirects, this is the redirect target."},"status":{"anyOf":[{"$ref":"#/components/schemas/CompanyStatus"},{"type":"null"}],"description":"Status of the company after this request. Possible values:\n- 'ON_PLATFORM': Data is available.\n- 'PROCESSING': In the fast pipeline, usually 24–48 hours; `submitted` is true if this request queued it.\n- 'NOT_PROCESSED': Not submitted: a redirect target with `submit_redirects` false.\n- 'UNAVAILABLE': Milda could not collect data (website unreachable, blocked, or without usable text).\n- 'NOT_FOUND': The company ID is not known (company IDs only; a URL is never NOT_FOUND).\n- 'INVALID_INPUT': The URL was malformed and could not be resolved."},"status_details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Details","description":"Set only when status is UNAVAILABLE: why Milda could not collect data from the website, in plain text.","example":"The website's domain does not resolve, so it may not exist."},"submitted":{"type":"boolean","title":"Submitted","description":"Whether the company was submitted for enrichment by this request."},"redirected_from_company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirected From Company Id","description":"Set only when the requested website redirects to another company's website: the ID the request resolved to. `company_id` and `status` then describe the redirect target."},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url","description":"Set only when the requested website redirects: the website it redirects to."}},"type":"object","required":["submitted"],"title":"SubmittedCompanyStatusProfile"},"TechnologyOrgsResponse":{"properties":{"organizations":{"items":{"$ref":"#/components/schemas/CitationOrganization"},"type":"array","title":"Organizations","description":"Organizations ranked by citation count."},"total":{"type":"integer","title":"Total","description":"Total number of citations.","default":0,"example":312}},"type":"object","title":"TechnologyOrgsResponse"},"TenderBuyers":{"properties":{"eu":{"$ref":"#/components/schemas/BuyerRanking","description":"EU contracting authorities (TED)."},"us":{"$ref":"#/components/schemas/BuyerRanking","description":"US federal agencies (USAspending prime contracts)."}},"type":"object","title":"TenderBuyers"},"TenderCandidate":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id","description":"Candidate ID. Pass this to the other tender award endpoints.","example":"EINHTMNLFGQ3WCMDFGM3TKNDEMRTGEUGC"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Company name.","example":"Acme Corporation"},"registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registration Number","description":"Official company registration number.","example":"HRB 12345"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"Two-letter ISO 3166-1 alpha-2 country code.","example":"DE"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Company website URL.","example":"https://www.acme.com"},"age":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Age","description":"Company age category.","example":"10+ years"},"size":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Size","description":"Company size category by employee count.","example":"250-999"}},"type":"object","required":["candidate_id"],"title":"TenderCandidate"},"TenderOverview":{"properties":{"summary":{"$ref":"#/components/schemas/ContractSummary","description":"Contracts won, total and average value, per source."},"by_country":{"items":{"$ref":"#/components/schemas/CountryContracts"},"type":"array","title":"By Country","description":"Contracts won by place of performance, most contracts first."},"eu_by_cpv":{"items":{"$ref":"#/components/schemas/CategoryContracts"},"type":"array","title":"Eu By Cpv","description":"EU contracts by CPV division (the first two digits of the CPV code), most contracts first."},"us_by_psc":{"items":{"$ref":"#/components/schemas/CategoryContracts"},"type":"array","title":"Us By Psc","description":"US contracts by Product and Service Code (PSC), most contracts first.","example":[{"code":"R499","n_contracts":1381,"name":"SUPPORT- PROFESSIONAL: OTHER","total_value_eur":18554794.89}]},"by_quarter":{"items":{"$ref":"#/components/schemas/QuarterContracts"},"type":"array","title":"By Quarter","description":"Contracts won per quarter, oldest first. Quarters with no awards are left out."}},"type":"object","required":["summary"],"title":"TenderOverview"},"TenderPartners":{"properties":{"by_count":{"items":{"$ref":"#/components/schemas/Partner"},"type":"array","title":"By Count","description":"Top 10 partners by number of shared contracts."},"by_value":{"items":{"$ref":"#/components/schemas/Partner"},"type":"array","title":"By Value","description":"Top 10 partners by value of shared contracts."}},"type":"object","title":"TenderPartners"},"TextSearchInsights":{"properties":{"search_id":{"type":"string","title":"Search Id","description":"The search the insights are for.","example":"9c1d4f2e7b"},"company_id":{"type":"string","title":"Company Id","description":"The company the insights are for.","example":"Cd318fb369f9942ff"},"market_segments":{"items":{"type":"string"},"type":"array","title":"Market Segments","description":"Market segments the company was found under in this search.","example":["battery recycling","battery waste management"]},"insights":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Insights","description":"Why the company matched: the passage from its website or other sources that ties it to the query, as plain text with paragraphs separated by blank lines. Null when none could be extracted.","example":"ECOBAT recovers lead and lithium from end-of-life batteries at plants across Europe."},"source_urls":{"items":{"type":"string"},"type":"array","title":"Source Urls","description":"Pages the passage comes from, in the order its paragraphs appear.","example":["https://ecobat.com/recycling"]}},"type":"object","required":["search_id","company_id"],"title":"TextSearchInsights"},"TextSearchInsightsRequest":{"properties":{"search_id":{"type":"string","title":"Search Id","description":"search_id returned by Text Search.","example":"9c1d4f2e7b"},"company_id":{"type":"string","title":"Company Id","description":"ID of a company in that search's results.","example":"Cd318fb369f9942ff"}},"type":"object","required":["search_id","company_id"],"title":"TextSearchInsightsRequest"},"TextSearchItem":{"properties":{"keyword":{"type":"string","title":"Keyword","description":"Keyword or phrase to search.","example":"battery recycling","x-group":"Search"},"limit":{"anyOf":[{"type":"integer","maximum":10000.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Limit","description":"Maximum number of results to return (up to 10,000).","example":500,"x-group":"Search"},"company_ids":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Company Ids","description":"Restrict the search to these company IDs (max 1000). When provided (with `urls`), the search runs only within this set.","example":["C1ffe0198c4ca3a12","C3ddaa22b14ea5d09"],"x-group":"Search within or exclude companies"},"urls":{"items":{"type":"string"},"type":"array","maxItems":1000,"title":"Urls","description":"Restrict the search to these company URLs or domain names (max 1000).","example":["example.com","anotherexample.org"],"x-group":"Search within or exclude companies"},"exclude_company_ids":{"items":{"type":"string"},"type":"array","maxItems":100000,"title":"Exclude Company Ids","description":"List of company IDs to exclude from the search results.","example":["C1ffe0198c4ca3a12","C3ddaa22b14ea5d09"],"x-group":"Search within or exclude companies"},"exclude_urls":{"items":{"type":"string"},"type":"array","maxItems":100000,"title":"Exclude Urls","description":"List of company URLs to exclude from the search results.","example":["example.com","https://another.com"],"x-group":"Search within or exclude companies"},"countries":{"anyOf":[{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Countries","description":"Include companies headquartered in ANY of these countries.","example":["SE","DE","FR"],"x-group":"Location"},"exclude_countries":{"anyOf":[{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Exclude Countries","description":"Exclude companies headquartered in ANY of these countries.","example":["CN","RU"],"x-group":"Location"},"locations":{"anyOf":[{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Locations","description":"Include companies with operations in ANY of these countries.","example":["US","NL"],"x-group":"Location"},"locations_not":{"anyOf":[{"items":{"$ref":"#/components/schemas/CountryCode"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Locations Not","description":"Exclude companies with operations in ANY of these countries.","example":["ES"],"x-group":"Location"},"industries_nace2digit":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Industries Nace2Digit","description":"Include companies active in ANY of these NACE 2-digit industries. Example: {'47', '62'} includes companies in Retail trade (47) and Computer programming (62).","example":["47","62"],"x-group":"Industry"},"exclude_industries_nace2digit":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Exclude Industries Nace2Digit","description":"Exclude companies active in ANY of these NACE 2-digit industries. Example: {'35'} excludes companies in Electricity, gas, steam and air conditioning supply (35).","example":["35"],"x-group":"Industry"},"industries_nace4digit":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Industries Nace4Digit","description":"Include companies active in ANY of these NACE 4-digit industries. Example: {'4711', '6201'} includes companies in Retail sale in non-specialised stores with food (4711) and Computer programming activities (6201).","example":["6201","4711"],"x-group":"Industry"},"exclude_industries_nace4digit":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Exclude Industries Nace4Digit","description":"Exclude companies active in ANY of these NACE 4-digit industries. Example: {'3521'} excludes companies in Manufacture of gas (3521).","example":["3521"],"x-group":"Industry"},"industries_sic":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Industries Sic","description":"Include companies active in ANY of these US SIC industries. Example: {'804'} includes companies in Offices of health practitioners (804).","example":["804"],"x-group":"Industry"},"exclude_industries_sic":{"anyOf":[{"items":{"type":"string"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Exclude Industries Sic","description":"Exclude companies active in ANY of these US SIC industries. Example: {'249'} excludes companies in Wood products not elsewhere classified (249).","example":["249"],"x-group":"Industry"},"value_chains":{"anyOf":[{"items":{"$ref":"#/components/schemas/ValueChain"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Value Chains","description":"Include companies engaged in ANY of these value chain segments.","example":["Manufacturing & assembly","Software & IT solutions"],"x-group":"Industry"},"exclude_value_chains":{"anyOf":[{"items":{"$ref":"#/components/schemas/ValueChain"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Exclude Value Chains","description":"Exclude companies engaged in ANY of these value chain segments.","example":["Mining & extraction"],"x-group":"Industry"},"age":{"anyOf":[{"items":{"$ref":"#/components/schemas/Age"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Age","description":"Filter by one or more company age categories.","example":["1-3 years","6-10 years"],"x-group":"Size and age"},"size":{"anyOf":[{"items":{"$ref":"#/components/schemas/Size"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Size","description":"Filter by one or more company size categories.","example":["10-49","250-999"],"x-group":"Size and age"},"turnover":{"anyOf":[{"items":{"$ref":"#/components/schemas/Turnover"},"type":"array","uniqueItems":true},{"type":"null"}],"title":"Turnover","description":"Filter by one or more company turnover categories.","example":["1-4.9m","10-49m"],"x-group":"Size and age"},"has_linkedin":{"type":"boolean","title":"Has Linkedin","description":"Filter for companies with a LinkedIn page.","default":false,"example":true,"x-group":"Online presence"},"has_twitter":{"type":"boolean","title":"Has Twitter","description":"Filter for companies with a Twitter/X page.","default":false,"example":false,"x-group":"Online presence"},"has_facebook":{"type":"boolean","title":"Has Facebook","description":"Filter for companies with a Facebook page.","default":false,"example":false,"x-group":"Online presence"}},"type":"object","required":["keyword"],"title":"TextSearchItem"},"TextSearchResponse":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/SearchCompany"},"type":"array","title":"Companies"},"search_id":{"type":"string","title":"Search Id"}},"type":"object","required":["companies","search_id"],"title":"TextSearchResponse"},"TokenInfo":{"properties":{"token":{"type":"string","title":"Token","description":"Token string"},"expiration_date":{"type":"string","format":"date-time","title":"Expiration Date","description":"Expiration date"},"credits":{"$ref":"#/components/schemas/Credits","description":"Remaining credits"}},"type":"object","required":["token","expiration_date","credits"],"title":"TokenInfo"},"TopCitedWorksRequest":{"properties":{"company_id":{"type":"string","title":"Company Id","description":"Company ID.","example":"C1ffe0198c4ca3a12"},"page_no":{"type":"integer","minimum":1.0,"title":"Page No","description":"Page number (25 works per page).","default":1,"example":1}},"type":"object","required":["company_id"],"title":"TopCitedWorksRequest"},"TopCitedWorksResponse":{"properties":{"results":{"items":{"$ref":"#/components/schemas/CitedWork"},"type":"array","title":"Results","description":"Top-cited works for the requested page."},"meta":{"$ref":"#/components/schemas/PageMeta","description":"Pagination metadata."}},"type":"object","title":"TopCitedWorksResponse"},"TopCountryItem":{"properties":{"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank"},"country":{"anyOf":[{"$ref":"#/components/schemas/TradeCountry"},{"type":"null"}]},"total_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Value"},"total_shipments":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Shipments"},"total_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Quantity"},"total_weight":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Weight"}},"type":"object","title":"TopCountryItem"},"TradeAnalyticsRequest":{"properties":{"company_id":{"type":"string","title":"Company Id","description":"Company ID.","example":"C1ffe0198c4ca3a12"},"candidate_id":{"type":"string","title":"Candidate Id","description":"candidate_id from a candidates result."},"type":{"type":"string","enum":["imp","exp"],"title":"Type","description":"'imp' for imports, 'exp' for exports.","example":"imp"}},"type":"object","required":["company_id","candidate_id","type"],"title":"TradeAnalyticsRequest"},"TradeCandidate":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id","description":"Candidate id. Pass this to the other trade-data endpoints."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Matched company name."},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"ISO country code."},"total_import_shipments":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Import Shipments","description":"Count of import shipments."},"total_export_shipments":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Export Shipments","description":"Count of export shipments."}},"type":"object","required":["candidate_id"],"title":"TradeCandidate"},"TradeCandidatesRequest":{"properties":{"company_id":{"type":"string","title":"Company Id","description":"Company ID.","example":"C1ffe0198c4ca3a12"}},"type":"object","required":["company_id"],"title":"TradeCandidatesRequest"},"TradeCountry":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"name_cn":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Cn"}},"type":"object","title":"TradeCountry"},"TradePartnersRequest":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id","description":"candidate_id from a candidates result.","example":"1234567890"},"page_no":{"type":"integer","minimum":1.0,"title":"Page No","description":"Page number (10 partners per page).","default":1,"example":1}},"type":"object","required":["candidate_id"],"title":"TradePartnersRequest"},"TradeRecordsRequest":{"properties":{"candidate_id":{"type":"string","title":"Candidate Id","description":"candidate_id from a candidates result.","example":"1234567890"},"type":{"type":"string","enum":["import","export"],"title":"Type","description":"'import' for import shipments, 'export' for export shipments.","example":"import"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Date","description":"Earliest shipment date, inclusive (YYYY-MM-DD).","example":"2023-01-01"},"end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"End Date","description":"Latest shipment date, inclusive (YYYY-MM-DD).","example":"2023-12-31"},"page_no":{"type":"integer","minimum":1.0,"title":"Page No","description":"Page number (10 records per page).","default":1,"example":1}},"type":"object","required":["candidate_id","type"],"title":"TradeRecordsRequest"},"TradeReport":{"properties":{"summary":{"anyOf":[{"$ref":"#/components/schemas/TradeSummary"},{"type":"null"}]},"top_10_importer_countries":{"items":{"$ref":"#/components/schemas/TopCountryItem"},"type":"array","title":"Top 10 Importer Countries"},"top_10_exporter_countries":{"items":{"$ref":"#/components/schemas/TopCountryItem"},"type":"array","title":"Top 10 Exporter Countries"}},"type":"object","title":"TradeReport"},"TradeSummary":{"properties":{"total_shipments":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Shipments"},"total_importers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Importers"},"total_suppliers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Suppliers"},"total_import_countries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Import Countries"},"total_export_countries":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Export Countries"}},"type":"object","title":"TradeSummary"},"Turnover":{"type":"string","enum":["<1m","1-4.9m","5-9.9m","10-49m","50-99m","100m+"],"title":"Turnover"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"ValueChain":{"type":"string","enum":["Consulting & project management","Critical raw materials","Design & engineering","Distribution & sales","Export of goods","Import of goods","Logistics, transport and storage","Machinery, hardware & components","Maintenance & repair","Manufacturing & assembly","Mining & extraction","Operators & providers of management services","R&D","Raw & processed materials","Recycling & waste management","Retail trade","Software & IT solutions","Wholesale trade"],"title":"ValueChain"},"VerifiedEmail":{"properties":{"person_id":{"type":"string","title":"Person Id","description":"Unique identifier of the person"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Verified email address. Returns None if no verified email is available."}},"type":"object","required":["person_id"],"title":"VerifiedEmail"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","description":"API token (legacy header).","in":"header","name":"token"},"HTTPBearer":{"type":"http","description":"API token as `Authorization: Bearer <token>`.","scheme":"bearer"}}}}