Run a JSONPath query on a JSON document
saylorinnovations.com/api/json/query
Run a JSONPath query on a JSON document - keys, indexes, slices, wildcards, recursive descent and filters - returning values and their paths
GET
https://saylorinnovations.com/api/json/queryUptimeNot checked yet
30 days agoToday
Call it from an agent
curl -i "https://saylorinnovations.com/api/json/query?json=%7B%22store%22%3A%7B%22book%22%3A%5B%7B%22t%22%3A%22A%22%2C%22price%22%3A8%7D%2C%7B%22t%22%3A%22B%22%2C%22price%22%3A22%7D%5D%7D%7D&path=%24.store.book%5B%3F%28%40.price+%3C+10%29%5D.t" # 402 Payment Required comes back with the price and where to pay.
Example input
{
"json": "{\"store\":{\"book\":[{\"t\":\"A\",\"price\":8},{\"t\":\"B\",\"price\":22}]}}",
"path": "$.store.book[?(@.price < 10)].t"
}More from Saylor Innovations Data Desk
- saylorinnovations.com/api/ai/hf-datasetsSearch Hugging Face datasets by keyword - downloads, likes, gated flag, last modified, description and tags, sorted by downloads, likes or trending0.01
- saylorinnovations.com/api/ai/hf-modelHugging Face model detail by id - licence, parameter count and precision, downloads, likes, gated status, base model, languages, weight files and tags0.01
- saylorinnovations.com/api/ai/hf-modelsSearch Hugging Face models by keyword and task - downloads, likes, pipeline task, library, creation date and tags, sorted by downloads, likes or trending0.01
- saylorinnovations.com/api/ai/hf-spacesSearch Hugging Face Spaces (demo apps) by keyword - likes, SDK (Gradio, Streamlit, Docker), creation date, tags and URL, sorted by likes or trending0.01
- saylorinnovations.com/api/alerts/germanyActive German civil-protection warnings from NINA - flood, contamination, weather and emergency alerts with severity, urgency, source and validity0.01
- saylorinnovations.com/api/algorand/accountAlgorand account lookup - ALGO balance, minimum and spendable balance, online status, pending rewards, assets and apps opted in and created0.01
- saylorinnovations.com/api/aptos/accountAptos account lookup - APT balance, sequence number meaning transactions sent, and the authentication key, from an Aptos Labs fullnode0.01
- saylorinnovations.com/api/archive/searchSearch the Internet Archive for books, audio, films, software and images - title, creator, date, download count, size and item link, sorted by popularity0.01
- saylorinnovations.com/api/argentina/seriesOfficial Argentina time series from datos.gob.ar by series id - INDEC inflation index, wages, activity and exchange rates with dates and values0.01
- saylorinnovations.com/api/astronomy/julian-dateJulian date, modified Julian date, day number, Greenwich mean sidereal time and local sidereal time for a timestamp and longitude0.01
- saylorinnovations.com/api/astronomy/meteor-showersUpcoming meteor showers with peak date, zenithal hourly rate, parent body, speed and the moon illumination at peak with a viewing quality rating0.01
- saylorinnovations.com/api/astronomy/moonMoon phase name, phase angle and illumination percent plus moonrise, moonset, highest and lowest points for any location and date, from MET Norway0.01
