78trust / 100

Filter

by jev-filter in Company & people data

x402 APIPassing, checked 2 h ago

Filter up to 25 records against up to 10 yes/no criteria you supply. Each record comes back with keep / review / drop, a reason naming the criterion it failed, a 0-10 score and the per-criterion probabilities. Never drops a record it could not read or could not judge: those come back as review or keep, flagged. Built on a decision model rather than a chat model, so it is a flat per-call price with no token accounting on your side.

POST https://x402-production-0f93.up.railway.app/v1/filter

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
356 ms typical, 406 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://x402-production-0f93.up.railway.app/v1/filter" \
  -H "content-type: application/json" \
  -d '{"criteria":[{"key":"in_europe","question":"The company operates in Europe."},{"key":"makes_things","question":"This is a company that manufactures or automates physical production, not a service business."}],"mode":"all","records":[{"company":"Nordfjord Packaging AS","contact":"S. Halvorsen","country":"Norway","id":"1"},{"company":"Bright Ideas Consultancy","contact":"","country":"UK","id":"2"}]}'
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%2Fx402-production-0f93.up.railway.app%2Fv1%2Ffilter
const res = await pay("https://x402-production-0f93.up.railway.app/v1/filter", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"criteria":[{"key":"in_europe","question":"The company operates in Europe."},{"key":"makes_things","question":"This is a company that manufactures or automates physical production, not a service business."}],"mode":"all","records":[{"company":"Nordfjord Packaging AS","contact":"S. Halvorsen","country":"Norway","id":"1"},{"company":"Bright Ideas Consultancy","contact":"","country":"UK","id":"2"}]}),
});
console.log(await res.json());

Example input

{
  "criteria": [
    {
      "key": "in_europe",
      "question": "The company operates in Europe."
    },
    {
      "key": "makes_things",
      "question": "This is a company that manufactures or automates physical production, not a service business."
    }
  ],
  "mode": "all",
  "records": [
    {
      "company": "Nordfjord Packaging AS",
      "contact": "S. Halvorsen",
      "country": "Norway",
      "id": "1"
    },
    {
      "company": "Bright Ideas Consultancy",
      "contact": "",
      "country": "UK",
      "id": "2"
    }
  ]
}

Example output

{
  "meta": {
    "bundle": "dataset-filter",
    "bundle_version": "0.1.0",
    "elapsed_ms": 640,
    "failures": 0,
    "items": 2,
    "model_cost_usd": 0.00012
  },
  "results": [
    {
      "confidence": "high",
      "id": "1",
      "rationale": "jev@openrouter: keep; reason all_criteria_met; in_europe 0.99, makes_things 0.97",
      "reason": "all_criteria_met",
      "rules_applied": [],
      "score": 9.81,
      "verdict": "keep"
    },
    {
      "confidence": "high",
      "id": "2",
      "rationale": "jev@openrouter: drop; reason failed_makes_things; in_europe 0.98, makes_things 0.03",
      "reason": "failed_makes_things",
      "rules_applied": [
        "require_makes_things"
      ],
      "score": 4.9,
      "verdict": "drop"
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402341 ms$0.01
6 h agoPassed402406 ms$0.01
9 h agoPassed402356 ms$0.01
13 h agoPassed402329 ms$0.01
16 h agoPassed402333 ms$0.01
20 h agoPassed402407 ms$0.01
23 h agoPassed402340 ms$0.01
27 h agoPassed402404 ms$0.01
31 h agoPassed402342 ms$0.01
34 h agoPassed402359 ms$0.01
39 h agoPassed402367 ms$0.01
42 h agoPassed402369 ms$0.01
45 h agoPassed402337 ms$0.01
2 days agoPassed402356 ms$0.01