Our dataPricingContact
Log in

API reference

Milda API

Base URL
https://api.milda.ai
Overview

Credit Usage1

  • GETCredit Usage

Company Search3

  • POSTFind Company
  • POSTText Search
  • POSTText Search Insights

Companies7

  • POSTSubmit Companies for Enrichment
  • POSTCompany Statuses
  • POSTCompany Profiles
  • POSTCompany Events
  • POSTPlaces of Performance
  • POSTGrowth Signals
  • POSTProducts & Clients

People2

  • POSTPeople Search
  • POSTVerified Email

Trade Data5

  • POSTTrade Candidates
  • POSTTrade Analytics
  • POSTShipping Records
  • POSTShipment Suppliers
  • POSTShipment Recipients

Patents7

  • POSTPatent Summary
  • POSTPatent Co-applicants
  • POSTPatent Inventors
  • POSTTechnology Users
  • POSTTechnology Providers
  • POSTPatent Citations
  • POSTPatent List

Publications5

  • POSTPublication Analytics
  • POSTPublication Authors
  • POSTPublication Funders
  • POSTCollaborating Organizations
  • POSTTop Cited Works

Risk Assessment4

  • POSTRisk Candidates
  • POSTCompany Financials
  • POSTCompany Ownership
  • POSTRisk Report

Company Search

2 of 3
POSThttps://api.milda.ai/v1/companies/text-search

Text Search

application/json
01

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.


Query Options

You can input one of the following into the keyword parameter: - A specific keyword (e.g. creative agency, private credit, B2B data provider) - 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)

Response Data

The endpoint returns: - A list of companies, each with: - Its rank in the results - A unique Milda company ID - Name, website, country and size - The market segments it was found under - A search_id for the search

Use the Profiles endpoint with the returned IDs to get full firmographics.

Market Segments

Milda 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.

Filters

You can narrow your search using filters such as: - Country - Industry - Company age - Company size - Other parameters

Searching within a set of companies

Pass company_ids and/or urls to restrict the search to that set of companies (max 1000). When provided, the keyword search runs only within those companies. Leave them empty to search the whole platform.

Why a Company Matched

Pass the response's search_id and a company_id from the results to Text Search Insights to get the passage that ties that company to your query. It is free.

Credit Usage
  • Open keyword search (no company_ids/urls): 10 credits per search + 0.2 credit per company returned.
  • Search within a set (company_ids/urls provided): flat 10 credits per search.
Example

Open keyword search returning 100 companies: - Total cost = 10 + (0.2 × 100) = 30 credits

Exclusions

To avoid duplicates, use: - exclude_company_ids to exclude previously returned companies by ID - exclude_urls to exclude companies by URL

No credits are charged for excluded companies, so re-running a similar query returns new companies instead of repeats.

Notes
  • limit can be 1 to 10,000. Without it, the endpoint returns up to 10,000 companies (2,500 for trial tokens).
  • If your search yields 8,000+ companies, consider refining by region or country for better granularity.

Rate Limit

1 request per second

02

Headers

nameinreqdescription
tokenheaderone ofYour API token, sent as "token: YOUR_API_TOKEN". Send this or Authorization.
Authorizationheaderone ofThe same token in the standard form, sent as "Authorization: Bearer YOUR_API_TOKEN" (the word Bearer, a space, then your token). Send this or token.
03

Request body

TextSearchItem
TextSearchItemtypereq24 fields
Search
keywordstringyesKeyword or phrase to search.
limitinteger | null—Maximum number of results to return (up to 10,000).
Search within or exclude companies
company_idsstring[]—Restrict the search to these company IDs (max 1000). When provided (with `urls`), the search runs only within this set.
urlsstring[]—Restrict the search to these company URLs or domain names (max 1000).
exclude_company_idsstring[]—List of company IDs to exclude from the search results.
exclude_urlsstring[]—List of company URLs to exclude from the search results.
Location
countriesCountryCode[] | null—Include companies headquartered in ANY of these countries.
exclude_countriesCountryCode[] | null—Exclude companies headquartered in ANY of these countries.
locationsCountryCode[] | null—Include companies with operations in ANY of these countries.
locations_notCountryCode[] | null—Exclude companies with operations in ANY of these countries.
Industry
industries_nace2digitstring[] | null—Include companies active in ANY of these NACE 2-digit industries. Example: {'47', '62'} includes companies in Retail trade (47) and Computer programming (62).
exclude_industries_nace2digitstring[] | null—Exclude companies active in ANY of these NACE 2-digit industries. Example: {'35'} excludes companies in Electricity, gas, steam and air conditioning supply (35).
industries_nace4digitstring[] | null—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).
exclude_industries_nace4digitstring[] | null—Exclude companies active in ANY of these NACE 4-digit industries. Example: {'3521'} excludes companies in Manufacture of gas (3521).
industries_sicstring[] | null—Include companies active in ANY of these US SIC industries. Example: {'804'} includes companies in Offices of health practitioners (804).
exclude_industries_sicstring[] | null—Exclude companies active in ANY of these US SIC industries. Example: {'249'} excludes companies in Wood products not elsewhere classified (249).
value_chainsValueChain[] | null—Include companies engaged in ANY of these value chain segments.
exclude_value_chainsValueChain[] | null—Exclude companies engaged in ANY of these value chain segments.
Size and age
ageAge[] | null—Filter by one or more company age categories.
sizeSize[] | null—Filter by one or more company size categories.
turnoverTurnover[] | null—Filter by one or more company turnover categories.
Online presence
has_linkedinboolean—Filter for companies with a LinkedIn page.default false
has_twitterboolean—Filter for companies with a Twitter/X page.default false
has_facebookboolean—Filter for companies with a Facebook page.default false
04

Responses

200 Successful Response422 Validation Error
TextSearchResponsetype2 fields
+companiesSearchCompany[]
rankintegerPosition of the company in the search results, ranked by relevance.
company_idstringUnique identifier for the company.
namestring | nullFull name of the company.
urlstring | nullURL of the company's official website.
country_codeCountryCode | nullCompany's country, as a two-letter ISO 3166-1 alpha-2 code.
sizeSize | nullCompany size category based on employee count.
market_segmentsstring[] | nullMarket segments the company was found under. Milda expands your query into related market segments and lists each one that matched this company.
search_idstring
PreviousFind CompanyNextText Search Insights

© 2026 Milda.ai All rights reserved.

  • Privacy policy
  • Terms and Conditions
  • Blog