78trust / 100
Execute Companies House Live Profile V1
by Macaroon Network in Company & people data
x402 APIPassing, checked 2 h ago
Fetch current public-register facts for one UK company by exact company number from the official Companies House Public Data API. Returns company status and type, incorporation date, SIC codes, registered-office locality and postcode, and accounts and confirmation-statement due or overdue facts.
POST https://api.macaroonnetwork.com/execute/companies-house-live-profile-v1
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 132 ms typical, 238 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.macaroonnetwork.com/execute/companies-house-live-profile-v1" \
-H "content-type: application/json" \
-d '{"input":{"company_number":"12662363"},"predicate":{"conditions":[{"field":"$.record.source","operator":"eq","type":"field_changed","value":"Companies House Public Data API"},{"field":"$.provenance.metadata_only","operator":"eq","type":"field_changed","value":true},{"field":"$.provenance.live_data","operator":"eq","type":"field_changed","value":true},{"field":"$.provenance.outbound_network_used","operator":"eq","type":"field_changed","value":true}],"type":"all"}}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.macaroonnetwork.com%2Fexecute%2Fcompanies-house-live-profile-v1
const res = await pay("https://api.macaroonnetwork.com/execute/companies-house-live-profile-v1", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"input":{"company_number":"12662363"},"predicate":{"conditions":[{"field":"$.record.source","operator":"eq","type":"field_changed","value":"Companies House Public Data API"},{"field":"$.provenance.metadata_only","operator":"eq","type":"field_changed","value":true},{"field":"$.provenance.live_data","operator":"eq","type":"field_changed","value":true},{"field":"$.provenance.outbound_network_used","operator":"eq","type":"field_changed","value":true}],"type":"all"}}),
});
console.log(await res.json());Example input
{
"input": {
"company_number": "12662363"
},
"predicate": {
"conditions": [
{
"field": "$.record.source",
"operator": "eq",
"type": "field_changed",
"value": "Companies House Public Data API"
},
{
"field": "$.provenance.metadata_only",
"operator": "eq",
"type": "field_changed",
"value": true
},
{
"field": "$.provenance.live_data",
"operator": "eq",
"type": "field_changed",
"value": true
},
{
"field": "$.provenance.outbound_network_used",
"operator": "eq",
"type": "field_changed",
"value": true
}
],
"type": "all"
}
}Example output
{
"payload": {
"company_number": "",
"provenance": {
"content_hash": null,
"live_data": null,
"metadata_only": null,
"outbound_network_used": null,
"retrieved_at": null,
"source": null,
"source_endpoint": null
},
"record": null
},
"predicate_passed": true,
"settled": true
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 156 ms | $0.005 |
| 6 h ago | Passed | 402 | 260 ms | $0.005 |
| 10 h ago | Passed | 402 | 93 ms | $0.005 |
| 13 h ago | Passed | 402 | 168 ms | $0.005 |
| 17 h ago | Passed | 402 | 98 ms | $0.005 |
| 20 h ago | Passed | 402 | 110 ms | $0.005 |
| 24 h ago | Passed | 402 | 132 ms | $0.005 |
| 27 h ago | Passed | 402 | 238 ms | $0.005 |
| 31 h ago | Passed | 402 | 99 ms | $0.005 |
| 35 h ago | Passed | 402 | 184 ms | $0.005 |
| 38 h ago | Passed | 402 | 197 ms | $0.005 |
| 42 h ago | Passed | 402 | 217 ms | $0.005 |
| 45 h ago | Passed | 402 | 95 ms | $0.005 |
| 2 days ago | Passed | 402 | 98 ms | $0.005 |