← Back to Fiber AI
POST/v1/text-to-search-params/companies

Convert text into company search filters

Takes free-form text (e.g., 'Series A startups in USA with 50–200 employees') and converts it into a structured set of filters for company search. This endpoint helps transform natural language queries into standardized search parameters such as industries, funding stages, headcount ranges, locations, and more.

Fiber AI·$0.04 per call

Example code

// Using @orth/sdk - The simplest way to call APIs // Install: npm install @orth/sdk import Orthogonal from "@orth/sdk"; const orthogonal = new Orthogonal({ apiKey: process.env.ORTHOGONAL_API_KEY, }); const output = await orthogonal.run({ api: "fiber", path: "/v1/text-to-search-params/companies", body: { "query": "example" } }); console.log(output);

Body parameters

queryrequired
string

Response

output.searchParams.stage.anyOf.0
string
output.searchParams.keywords.containsAny.0
string
output.searchParams.lastFundedOn.range.lowerBound
string
output.searchParams.lastFundedOn.range.upperBound
string
output.searchParams.lastFundedOn.strategy
string
output.searchParams.jobPostingsV2.anyOf.0.jobTitle.0
string
output.searchParams.jobPostingsV2.anyOf.0.jobPostingStatus
string
output.searchParams.jobPostingsV2.anyOf.0.countryOrRegionCode.0
string
output.searchParams.employeeCountV2.lowerBoundExclusive
number
output.searchParams.employeeCountV2.upperBoundInclusive
number
output.searchParams.headquartersCountryCode.anyOf.0
string
chargeInfo.method
string
chargeInfo.creditsCharged
number
    Orthogonal - Giving AI agents the tools they need.