Skip to main content

ip_to_company

Resolve an IP address to the company or companies associated with it.

Updated this week

Parameters

Field

Type

Required

Description

params.name

string

Must be "ip_to_company"

params.arguments.ip_address

string

IPv4 or IPv6 address

Best suited for B2B use cases where the visitor’s IP maps to a corporate network. Consumer ISP IPs will typically not resolve to a company.

Request

curl --request POST \
--url https://app.moltsets.com/mcp/ \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "ip_to_company",
"arguments": {
"ip_address": "8.8.8.8"
}
}
}'

Response

{
"jsonrpc": "2.0",
"id": null,
"result": {
"content": [
{
"type": "text",
"text": "{\"companies\":[{\"domain\":\"acme.com\",\"percentage\":\"1.0\"}]}"
}
],
"isError": false
}
}
Did this answer your question?