{
  "ok": true,
  "request_id": "req_3ce2e96b02ebbc93",
  "service": "AI Fusion One interlibrary loan",
  "version": "1.0.0",
  "notice": "This service never places, transmits, or tracks an interlibrary loan. Packets are for a person or library to submit themselves.",
  "pricing": {
    "ill_search": {
      "amount": "0.05",
      "currency": "USD",
      "path": "/v1/ill/search",
      "method": "POST"
    },
    "ill_availability": {
      "amount": "0.05",
      "currency": "USD",
      "path": "/v1/ill/availability",
      "method": "POST"
    },
    "ill_request_packet": {
      "amount": "0.10",
      "currency": "USD",
      "path": "/v1/ill/request-packet",
      "method": "POST"
    }
  },
  "free": {
    "method": "GET",
    "path": "/v1/ill",
    "note": "This discovery route is free. Search, availability and request-packet are paid via x402."
  },
  "endpoints": {
    "search": {
      "method": "GET",
      "url": "https://theaiworldnetwork.com/v1/ill/search",
      "query": [
        "q",
        "isbn",
        "title",
        "author",
        "limit"
      ]
    },
    "availability": {
      "method": "GET",
      "url": "https://theaiworldnetwork.com/v1/ill/availability",
      "query": [
        "isbn"
      ]
    },
    "request_packet": {
      "method": "POST",
      "url": "https://theaiworldnetwork.com/v1/ill/request-packet",
      "body": "isbn or title, optional bibliographic and requester fields. Does not submit."
    }
  },
  "mcp_tools": [
    "ill_search",
    "ill_availability",
    "ill_request_packet"
  ],
  "sources": [
    {
      "id": "openlibrary",
      "name": "Open Library",
      "url": "https://openlibrary.org/developers/api",
      "license": "Open Library data is available for reuse; credit Open Library / Internet Archive. Not a bulk-data backend.",
      "rate_limit": "1 request/second unauthenticated; 3/second when identified with User-Agent and email. Cache responses. No HTML scraping or multi-IP request spreading."
    },
    {
      "id": "loc",
      "name": "Library of Congress loc.gov JSON API",
      "url": "https://www.loc.gov/apis/json-and-yaml/",
      "license": "US government work / Library of Congress terms for loc.gov. No API key. The JSON API covers digitized website collections, not the full LC catalog.",
      "rate_limit": "Rate limiting is enforced; no published numeric cap. Avoid deep paging past ~100,000 results. Soft-timeout used here because loc.gov can be slow."
    },
    {
      "id": "hathitrust",
      "name": "HathiTrust Bibliographic API",
      "url": "https://www.hathitrust.org/member-libraries/resources-for-librarians/data-resources/bibliographic-api/",
      "license": "Intended for small numbers of identifier lookups, not search or bulk harvest. OCLC record reuse may be subject to OCLC policy.",
      "rate_limit": "No API key for brief/full identifier lookups. Use for small item counts only; bulk via OAI or Hathifiles."
    },
    {
      "id": "internetarchive",
      "name": "Internet Archive Advanced Search",
      "url": "https://archive.org/advancedsearch.php",
      "license": "Internet Archive terms; identify your client. Lending availability can change with holds and geo-restrictions.",
      "rate_limit": "No API key for advancedsearch. Be conservative, cache, and identify User-Agent."
    },
    {
      "id": "worldcat",
      "name": "WorldCat.org find-in-a-library links",
      "url": "https://www.worldcat.org/",
      "license": "Public web deep links only. The OCLC WorldCat Search API requires a cataloging + Discovery subscription and a WSKey; it is not called here.",
      "rate_limit": "No keyless bibliographic API. Links: https://www.worldcat.org/isbn/{isbn}, /oclc/{oclc}, or /search?q=."
    }
  ]
}