Parameters
Field | Type | Required | Description |
|
| ✓ | Must be |
|
| ✓ | 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
}
}