Skip to content
Fourohtwo

JSON query

shop.lordevo.com/api/quick/json-query

JSON query: JSONPath (RFC 9535) or JSON Pointer: Selects values from a JSON document with a JSONPath query (RFC 9535: names, indexes, slices, wildcards, .. descendants, filters with comparisons, && || ! and length/count/value) or a JSON Pointer (RFC 6901).

BaseAnswering
GEThttps://shop.lordevo.com/api/quick/json-query

Uptime100% of 1 check 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://shop.lordevo.com/api/quick/json-query?json=%7B%22store%22%3A%7B%22book%22%3A%5B%7B%22title%22%3A%22A%22%2C%22price%22%3A8.95%7D%2C%7B%22title%22%3A%22B%22%2C%22price%22%3A12.99%7D%5D%7D%7D&query=%24.store.book%5B%3F%40.price+%3C+10%5D.title");
console.log(await res.json());

Example input

{
  "json": "{\"store\":{\"book\":[{\"title\":\"A\",\"price\":8.95},{\"title\":\"B\",\"price\":12.99}]}}",
  "query": "$.store.book[?@.price < 10].title"
}