{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "goodnight000-api-anything--query-shared-site-spec",
 "repo": "goodnight000/api-anything",
 "repo_url": "https://github.com/goodnight000/api-anything",
 "repo_slug": "goodnight000-api-anything",
 "title": "Query a website through a shared spec in minutes",
 "page_title": "How to query a website through a shared spec in minutes with API Anything",
 "summary": "Pull a community-published spec and call a site's operations as JSON instead of browsing it.",
 "who": "A developer or agent builder who needs data from a site like Goodreads and does not want to write a scraper or drive a browser.",
 "problem": "Browser-driven agents are slow and costly on sites they must navigate page by page.",
 "outcome": "The site's data comes back as JSON from one command over plain HTTP, with tier 1 shown in the result.",
 "steps": [
  "`git clone https://github.com/goodnight000/api-anything.git && cd api-anything`",
  "`npm ci && npm install -g \"$(npm pack --silent)\"`",
  "`api-anything pull goodreads`",
  "`api-anything call goodreads searchBooks q=piranesi`"
 ],
 "agent_prompt": "Using the api-anything repo at github.com/goodnight000/api-anything, run `api-anything pull <site>` and then `api-anything call <site> <operation> q=<query>` for a query you choose. Expected output is one JSON object with ok set to true and a data array. Verify that ok is true and that tier is 1.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says the package is not on npm yet, so you must install from a local clone, and it covers only the operations that were taught, not whole sites.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node 22.13 or newer",
  "git, to clone the repository",
  "Google Chrome, or another Chromium browser set with API_ANYTHING_BROWSER, for creating operations",
  "A coding agent such as Claude Code or Codex, if you want the agent to call operations over MCP",
  "The GitHub CLI, only if you plan to publish a spec"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/goodnight000-api-anything/query-shared-site-spec/",
 "md": "https://dedupedai.com/use-cases/goodnight000-api-anything/query-shared-site-spec/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/goodnight000-api-anything--query-shared-site-spec.json",
 "api_version": "v1"
}
