Skip to content
Fourohtwo

Compare 2-10 U.S

agent-vending-production.up.railway.app/v1/location-compare

Compare 2-10 U.S. locations of the same geography type side by side on a standard Census demographic profile (population, income, education, housing, workforce), with U.S./state benchmarks and percentiles. Location Compare docs: https://agent-vending-production.up.railway.app/integrate

BaseAnswering
POSThttps://agent-vending-production.up.railway.app/v1/location-compare

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-vending-production.up.railway.app/v1/location-compare", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"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"
    }
  ]
}