← Back to Context.dev
GET/web/competitors
Find Website Competitors
Analyze a company's landing page and web search evidence to return direct competitors for the same product or market.
Context.dev·$0.03 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: "context-dev",
path: "/web/competitors",
query: {
"domain": "example"
}
});
console.log(output);Query parameters
domainrequired
string
Company domain to analyze, such as stripe.com.
numCompetitors
string
Exact number of direct competitors to return. Defaults to 5.
Response
domain
string
status
string
target.field
string
target.websiteUrl
string
target.companyName
string
target.fieldDescription
string
competitors.0.url
string
competitors.0.name
string
competitors.0.domain
string
competitors.0.confidence
string
competitors.0.sourceUrls.0
string
competitors.0.description
string
key_metadata.credits_consumed
number
key_metadata.credits_remaining
number