77trust / 100

Lookup Place Environmental Sites

by OneShot in Weather & location

x402 APIPassing, checked 2 h ago

Find federally regulated facilities, toxic release reporters and Superfund sites by point, ZIP code or county.

POST
https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites
Price
$0.01
per call in USDC
Uptime
95.5%
last 30 days
Response time
178 ms
233 ms slowest 5%
Last check
Passed
2 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites
content-type: application/json

{
  "latitude": 43.08,
  "limit": 3,
  "longitude": -78.95,
  "radius_km": 3
}

Parameters

ParameterTypeRequiredDescription
county_fipsstringNoFive-digit state plus county code, the county_id returned by Place Resolve (place_resolve), for example 51059
latitudenumberNoPoint latitude in decimal degrees; give longitude too. From -90 to 90.
limitintegerNoHow many facilities to return. From 1 to 25. Defaults to `10`.
longitudenumberNoPoint longitude in decimal degrees, west negative; give latitude too. From -180 to 180.
orderstringNoMost quarters in noncompliance, Superfund sites, or largest combined on-site toxic releases and off-site transfers first. Defaults to `"noncompliance"`. One of: noncompliance, superfund, toxic_releases.
place_idstringNoOneShot place id returned by place_resolve; use instead of county_fips or other geography
radius_kmnumberNoPoint search radius in kilometres, default 2; only with latitude and longitude. From 0.2 to 16.
zip_codestringNoFive-digit facility ZIP code; placeholder ZIP codes 00000 and 99999 are refused

Example response

The provider's example. We can't check it without paying.

Example response, 93 lines
{
  "by_program": {
    "air": 8,
    "hazardous_waste": 103,
    "toxic_releases": 2,
    "water_dischargers": 14
  },
  "facilities": [
    {
      "active": true,
      "city": "NIAGARA FALLS",
      "compliance_status": "Violation Identified",
      "county": "NIAGARA",
      "distance_km": 2.47,
      "formal_actions": 0,
      "last_inspected_on": "2025-08-26",
      "latitude": 43.070086,
      "longitude": -78.922768,
      "name": "NIAGARA COUNTY SEWER DISTRICT #1 WWTP",
      "penalties_usd": 0,
      "programs": [
        "air",
        "water_discharger",
        "hazardous_waste"
      ],
      "quarters_in_violation": 12,
      "registry_id": "110000735045",
      "significant_violator": false,
      "state": "NY",
      "street": "7346 LIBERTY DRIVE",
      "superfund_site_ids": [],
      "toxic_releases_and_transfers_lb": null,
      "zip": "14304"
    },
    {
      "active": true,
      "city": "GRAND ISLAND",
      "compliance_status": "No Violation Identified",
      "county": "ERIE",
      "distance_km": 2.86,
      "formal_actions": 0,
      "last_inspected_on": "2025-06-26",
      "latitude": 43.05739,
      "longitude": -78.96687,
      "name": "GRAND ISLAND WASTEWATER TREATMENT PLANT",
      "penalties_usd": 0,
      "programs": [
        "water_discharger",
        "hazardous_waste"
      ],
      "quarters_in_violation": 7,
      "registry_id": "110000552081",
      "significant_violator": false,
      "state": "NY",
      "street": "3500 BASELINE RD",
      "superfund_site_ids": [],
      "toxic_releases_and_transfers_lb": null,
      "zip": "14072"
    },
    {
      "active": true,
      "city": "WHEATFIELD",
      "compliance_status": "No Violation Identified",
      "county": "NIAGARA",
      "distance_km": 2.25,
      "formal_actions": 0,
      "last_inspected_on": "2023-08-02",
      "latitude": 43.073,
      "longitude": -78.924,
      "name": "ENERPLATE LLC",
      "penalties_usd": 0,
      "programs": [
        "water_discharger",
        "hazardous_waste"
      ],
      "quarters_in_violation": 5,
      "registry_id": "110071307855",
      "significant_violator": false,
      "state": "NY",
      "street": "2250 LIBERT DR",
      "superfund_site_ids": [],
      "toxic_releases_and_transfers_lb": null,
      "zip": "14304"
    }
  ],
  "in_violation_now": 1,
  "inspected_5yr": 13,
  "significant_violators": 0,
  "total_facilities": 112,
  "total_penalties_usd": 0,
  "with_formal_actions_5yr": 0,
  "with_violations_3yr": 8
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites' \
  -H 'content-type: application/json' \
  --data-raw '{"latitude":43.08,"limit":3,"longitude":-78.95,"radius_km":3}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites' \
  -H 'content-type: application/json' \
  --data-raw '{"latitude":43.08,"limit":3,"longitude":-78.95,"radius_km":3}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwin.oneshotagent.com%2Fv1%2Ftools%2Flookup%2Fplace-environmental-sites&method=POST
const res = await pay("https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "latitude": 43.08,
    "limit": 3,
    "longitude": -78.95,
    "radius_km": 3
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://win.oneshotagent.com/v1/tools/lookup/place-environmental-sites",
        json={
            "latitude": 43.08,
            "limit": 3,
            "longitude": -78.95,
            "radius_km": 3,
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402162 ms$0.01
12 h agoPassed402270 ms$0.01
23 h agoPassed402223 ms$0.01
33 h agoPassed402160 ms$0.01
44 h agoPassed402181 ms$0.01
Show 10 older checks
2 days agoPassed402153 ms$0.01
3 days agoPassed402154 ms$0.01
3 days agoPassed402196 ms$0.01
5 days agoTimed out---
6 days agoPassed402147 ms$0.01
7 days agoPassed402198 ms$0.01
7 days agoPassed402178 ms$0.01
8 days agoPassed402157 ms$0.01
8 days agoPassed402233 ms$0.01
9 days agoPassed402167 ms$0.01