fetch

Sources

Fetches a remote JSON endpoint and passes the parsed response into the pipeline. Supports HTTP and HTTPS only. Private/internal IP ranges are blocked. Responses over 1 MB or requests taking longer than 10 seconds are rejected.

Syntaxfetch:https://api.example.com/data
urlFully-qualified HTTP or HTTPS URL to fetch

Use cases

Use caseDescriptionURL
GitHub public reposLoad a user's public repositories to sort, filter, or export them.https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos
JSONPlaceholder postsGrab a full list of sample blog posts for prototyping filter or sort logic.https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/posts
Public IP geolocationInspect the geolocation, timezone, and ISP for the server IP.https://httpip.es/api/pipe/fetch:https://ipapi.co/json
Open-source users listFetch the JSONPlaceholder users list to explore nested address/company fields.https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/users
Random dog imageFetch a random dog image URL from the Dog CEO API then extract the message field.https://httpip.es/api/pipe/fetch:https://dog.ceo/api/breeds/image/random

All commands