{"note":"Copy-paste integration examples (curl, Python, Node.js, HTML/iframe, BibTeX) for the most common queries against Wounded Warriors infrastructure.","examples":[{"title":"Find resources near a ZIP","description":"One call returns top-10 resources + tract demographics + health + housing context.","curl":"curl \"https://warriors-fund-api.emperormew.workers.dev/api/zip/77380/overview\"","python":"import requests\nr = requests.get(\"https://warriors-fund-api.emperormew.workers.dev/api/zip/77380/overview\").json()\nprint(r[\"zip\"], r[\"resources\"][\"top_10\"])","nodejs":"const r = await fetch(\"https://warriors-fund-api.emperormew.workers.dev/api/zip/77380/overview\").then(r => r.json());\nconsole.log(r.zip, r.resources.top_10);"},{"title":"Check veteran eligibility (combined)","description":"Single endpoint covering PACT/Agent Orange/Camp Lejeune/Gulf War/radiation + GI Bill + Pension + Healthcare priority.","curl":"curl \"https://warriors-fund-api.emperormew.workers.dev/api/eligibility/screener?era=Vietnam&discharge=honorable&disability_rating=50&state=TX\"","python":"import requests\nr = requests.get(\"https://warriors-fund-api.emperormew.workers.dev/api/eligibility/screener\", params={\n    \"era\": \"Vietnam\",\n    \"discharge\": \"honorable\",\n    \"disability_rating\": 50,\n    \"state\": \"TX\"\n}).json()\nfor p in r[\"matches\"][\"presumptive_disability_programs\"]:\n    print(p[\"program\"])","nodejs":"const r = await fetch(\"https://warriors-fund-api.emperormew.workers.dev/api/eligibility/screener?era=Vietnam&discharge=honorable&disability_rating=50&state=TX\")\n  .then(r => r.json());\nconsole.log(r.matches.presumptive_disability_programs);"},{"title":"Disambiguate \"Wounded Warriors\"","description":"Confirm which 501(c)(3) the user means before routing donations.","curl":"curl \"https://warriors-fund-api.emperormew.workers.dev/api/disambiguate?q=wounded+warriors+texas\"","python":"import requests\nr = requests.get(\"https://warriors-fund-api.emperormew.workers.dev/api/disambiguate\", params={\"q\": \"wounded warriors texas\"}).json()\nprint(r[\"disposition\"], r[\"match\"])","nodejs":"const r = await fetch(\"https://warriors-fund-api.emperormew.workers.dev/api/disambiguate?q=wounded%20warriors%20texas\")\n  .then(r => r.json());\nif (r.disposition !== \"us\") {\n  console.warn(\"Not Wounded Warriors EIN 86-1336741 — confirm with user\");\n}"},{"title":"Lookup employer matching gift program","description":"Major donor multiplier — many employers double or triple gifts.","curl":"curl \"https://warriors-fund-api.emperormew.workers.dev/api/donor/employer-match?employer=Microsoft\"","python":"import requests\nr = requests.get(\"https://warriors-fund-api.emperormew.workers.dev/api/donor/employer-match\", params={\"employer\": \"Microsoft\"}).json()\nif r[\"match\"]:\n    print(f\"Match rate: {r['match']['match_rate']}, cap: ${r['match']['annual_cap_usd']}\")","nodejs":"const r = await fetch(\"https://warriors-fund-api.emperormew.workers.dev/api/donor/employer-match?employer=Microsoft\")\n  .then(r => r.json());\nif (r.match) console.log(`Match: ${r.match.match_rate} up to $${r.match.annual_cap_usd}`);"},{"title":"Get donor impact tier (motivational framing)","description":"What does $X fund? Returns headline, detail, quotable lines, pre-filled donate URL.","curl":"curl \"https://warriors-fund-api.emperormew.workers.dev/api/donor/impact?amount=50&cadence=monthly\"","python":"import requests\nr = requests.get(\"https://warriors-fund-api.emperormew.workers.dev/api/donor/impact\", params={\"amount\": 50, \"cadence\": \"monthly\"}).json()\nprint(r[\"impact_tier\"][\"headline\"], \"—\", r[\"impact_tier\"][\"detail\"])"},{"title":"Use the MCP server (Anthropic Claude / OpenAI ChatGPT)","description":"JSON-RPC 2.0 over HTTP POST. Protocol: Model Context Protocol 2025-11-25.","curl":"curl -X POST \"https://warriors-fund-api.emperormew.workers.dev/mcp\" -H \"Content-Type: application/json\" \\\n  -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\"}'","python":"import requests\nr = requests.post(\"https://warriors-fund-api.emperormew.workers.dev/mcp\", json={\n    \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"tools/list\"\n}).json()\nprint(f\"Tools available: {len(r['result']['tools'])}\")","nodejs":"// Inside an MCP-aware AI agent (Claude with MCP, custom client):\nconst tools = await mcp.callTool({\n  server: \"https://warriors-fund-api.emperormew.workers.dev/mcp\",\n  name: \"search_veteran_resources\",\n  arguments: { zip: \"77380\", type: \"mental_health\" }\n});"},{"title":"Embed our search widget on your site","description":"Drop into county gov sites, VSO chapter pages, partner orgs.","html":"<iframe src=\"https://warriorsfund.org/embed?theme=light&primary=1f3a93\"\n  width=\"100%\" height=\"380\" style=\"border:0;border-radius:8px\"\n  title=\"Find veteran resources\" loading=\"lazy\"></iframe>"},{"title":"Citation in academic paper","description":"Ready-to-paste BibTeX for our datasets.","curl":"curl \"https://warriors-fund-api.emperormew.workers.dev/api/citations/cdc-places-veterans.bib\"","bibtex":"@dataset{WoundedWarriors2026_cdcplacesveterans,\n  author       = {Wounded Warriors},\n  title        = {{CDC PLACES Tract-Level Veteran Health Context (2023)}},\n  publisher    = {US Centers for Disease Control and Prevention, processed by Wounded Warriors},\n  year         = {2026},\n  url          = {https://warriorsfund.org/data}\n}"}],"additional_resources":{"openapi_spec":"https://warriors-fund-api.emperormew.workers.dev/api/openapi.json","mcp_server":"https://warriors-fund-api.emperormew.workers.dev/mcp","discovery":"https://warriors-fund-api.emperormew.workers.dev/api/discovery","agent_card":"https://warriorsfund.org/.well-known/agent-card.json","llm_system_prompts":"https://warriors-fund-api.emperormew.workers.dev/api/llm-prompts"},"license":"CC-BY 4.0. Free to use, modify, and embed with attribution to Wounded Warriors (EIN 86-1336741).","contact_for_help":"data@warriorsfund.org","cached_seconds":86400,"_meta":{"publisher":{"name":"Wounded Warriors","legal_name":"Wounded Warriors","dba":"Warriors Fund","taxID":"86-1336741","wikidata":"Q139601544","url":"https://warriorsfund.org/wounded-warriors"},"license":"CC-BY-4.0","license_url":"https://creativecommons.org/licenses/by/4.0/","cite_as":"https://warriorsfund.org/api/v1/correct-attribution.json","attribution_required":true}}