78trust / 100
Location Compare
by Location Compare in Weather & location
x402 APIPassing, checked 2 h ago
Compare U.S. locations across Census demographics, income, education, housing and workforce metrics in one call.
POST https://agent-vending-production.up.railway.app/v1/location-compare
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 348 ms typical, 477 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://agent-vending-production.up.railway.app/v1/location-compare' \
-H 'content-type: application/json' \
--data-raw '{"locations":[{"name":"Ventura County","state":"CA","type":"county"},{"name":"Orange County","state":"CA","type":"county"},{"name":"San Diego County","state":"CA","type":"county"}]}'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%2Fagent-vending-production.up.railway.app%2Fv1%2Flocation-compare
const res = await pay("https://agent-vending-production.up.railway.app/v1/location-compare", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"locations\":[{\"name\":\"Ventura County\",\"state\":\"CA\",\"type\":\"county\"},{\"name\":\"Orange County\",\"state\":\"CA\",\"type\":\"county\"},{\"name\":\"San Diego County\",\"state\":\"CA\",\"type\":\"county\"}]}",
});
console.log(await res.json());Example input
{
"locations": [
{
"name": "Ventura County",
"state": "CA",
"type": "county"
},
{
"name": "Orange County",
"state": "CA",
"type": "county"
},
{
"name": "San Diego County",
"state": "CA",
"type": "county"
}
]
}Example output
{
"comparison": [
{
"comparison_status": "SIGNIFICANT_DIFFERENCE",
"highest": {
"estimate": 113702,
"geoid": "06059"
},
"largest_difference": {
"difference": 11417,
"difference_unit": "usd",
"percent_difference_vs_lowest": 11.16,
"significance_90": {
"significant": true
}
},
"lowest": {
"estimate": 102285,
"geoid": "06073"
},
"metric": "median_household_income",
"unit": "usd",
"values": [
{
"estimate": 107327,
"geoid": "06111",
"moe_90": 1391,
"national_percentile": {
"percentile": 96.91
}
},
{
"estimate": 113702,
"geoid": "06059",
"moe_90": 986,
"national_percentile": {
"percentile": 98.03
}
},
{
"estimate": 102285,
"geoid": "06073",
"moe_90": 899,
"national_percentile": {
"percentile": 95.98
}
}
]
}
],
"data_vintage": {
"dataset": "ACS 5-Year",
"label": "ACS 5-Year 2019-2023",
"release_year": 2023
},
"locations": [
{
"geo_type": "county",
"geoid": "06111",
"name": "Ventura County, California"
},
{
"geo_type": "county",
"geoid": "06059",
"name": "Orange County, California"
},
{
"geo_type": "county",
"geoid": "06073",
"name": "San Diego County, California"
}
],
"product": "location_compare",
"provenance": [
{
"dataset": "acs/acs5/profile",
"provider": "census_acs",
"release_year": 2023
}
],
"status": "OK",
"summary": {
"largest_differences": [
{
"difference": 2.3,
"difference_unit": "years",
"highest": "Ventura County, California",
"lowest": "San Diego County, California",
"metric": "median_age",
"national_percentile_spread": 14
}
]
},
"vintage_check": {
"release_year": 2023,
"same_vintage": 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 | 354 ms | $0.01 |
| 6 h ago | Passed | 402 | 693 ms | $0.01 |
| 10 h ago | Passed | 402 | 342 ms | $0.01 |
| 14 h ago | Passed | 402 | 348 ms | $0.01 |
| 18 h ago | Passed | 402 | 338 ms | $0.01 |
| 21 h ago | Passed | 402 | 368 ms | $0.01 |
| 25 h ago | Passed | 402 | 385 ms | $0.01 |
| 28 h ago | Passed | 402 | 335 ms | $0.01 |
| 32 h ago | Passed | 402 | 366 ms | $0.01 |
| 35 h ago | Passed | 402 | 337 ms | $0.01 |
| 39 h ago | Passed | 402 | 339 ms | $0.01 |
| 43 h ago | Passed | 402 | 415 ms | $0.01 |
| 47 h ago | Passed | 402 | 455 ms | $0.01 |
| 2 days ago | Passed | 402 | 342 ms | $0.01 |
| 2 days ago | Passed | 402 | 424 ms | $0.01 |