fatsearch 0.1.1

Web pages and documents turned into small, clean, cached Markdown for AI agents
Documentation
{
  "specs": [
    {"name": "plain", "short": "plain", "env": "", "file": "", "timeout": {"secs": 10, "nanos": 0}, "price": 0.0, "can": ["page", "pdf", "gov"], "bills_site_5xx": false, "buys": "", "search_s": 0},
    {"name": "brightdata", "short": "bd", "env": "BRIGHTDATA_API_KEY", "file": "brightdata.key", "timeout": {"secs": 60, "nanos": 0}, "price": 0.0015, "can": ["page", "js", "search", "pdf"], "bills_site_5xx": false, "buys": "unblock+JS", "search_s": 10},
    {"name": "oxylabs", "short": "oxy", "env": "OXYLABS_WEB_API_KEY", "file": "oxylabs.key", "timeout": {"secs": 10, "nanos": 0}, "price": 0.0010, "can": ["page", "search", "pdf", "gov"], "bills_site_5xx": true, "buys": "no-JS fetch", "search_s": 2},
    {"name": "oxylabs-js", "short": "oxyjs", "env": "OXYLABS_WEB_API_KEY", "file": "oxylabs.key", "timeout": {"secs": 60, "nanos": 0}, "price": 0.0015, "can": ["page", "js", "gov"], "bills_site_5xx": true, "buys": "JS render", "search_s": 0}
  ],
  "apis": [
    {"api": "BdRequest", "method": "POST", "url": "https://api.brightdata.com/request", "what": ""},
    {"api": "OxyScrape", "method": "POST", "url": "https://webapi.oxylabs.io/v1/scrape", "what": ""},
    {"api": "OxySearch", "method": "POST", "url": "https://webapi.oxylabs.io/v1/search", "what": ""},
    {"api": "OxyScrapers", "method": "GET", "url": "https://webapi.oxylabs.io/v1/scrapers", "what": "key check (200/401) + scraper count"},
    {"api": "BdBalance", "method": "GET", "url": "https://api.brightdata.com/customer/balance", "what": "balance USD"},
    {"api": "BdZones", "method": "GET", "url": "https://api.brightdata.com/zone/get_active_zones", "what": "zones by type"},
    {"api": "BdCosts", "method": "POST", "url": "https://api.brightdata.com/costs/export/json", "what": "spend {from}..{to}, the `total` key (a query sent as POST)"},
    {"api": "BdZoneCost", "method": "GET", "url": "https://api.brightdata.com/zone/cost", "what": "requests of the zone this month"},
    {"api": "Doh", "method": "GET", "url": "https://1.1.1.1/dns-query", "what": "second resolver on NXDOMAIN, no key", "accept": "application/dns-json"},
    {"api": "GhRepos", "method": "GET", "url": "https://api.github.com/search/repositories", "what": "fats gh: repositories by stars, free", "accept": "application/vnd.github+json"},
    {"api": "GhUser", "method": "GET", "url": "https://api.github.com/users/{q}/repos", "what": "fats gh <login>: that account's repositories, free", "accept": "application/vnd.github+json"}
  ],
  "links": [
    {"short": "oxy", "signup": "https://dashboard.oxylabs.io/en/registration", "keys": "https://dashboard.oxylabs.io (a Web API instance's key)", "billing": null, "usage": null},
    {"short": "bd", "signup": "https://brightdata.com/cp/start", "keys": "https://brightdata.com/cp/setting/users", "billing": "https://brightdata.com/cp/billing", "usage": "https://brightdata.com/cp/billing/costs"},
    {"short": "gh", "signup": "https://github.com/signup", "keys": "https://github.com/settings/tokens", "billing": null, "usage": null}
  ],
  "cctld": {
    "lt": "lt lt", "de": "de de", "fr": "fr fr", "pl": "pl pl", "lv": "lv lv", "ee": "ee et",
    "es": "es es", "it": "it it", "nl": "nl nl", "se": "se sv", "fi": "fi fi sv", "no": "no no nb nn",
    "dk": "dk da", "cz": "cz cs", "sk": "sk sk", "hu": "hu hu", "pt": "pt pt", "ro": "ro ro",
    "bg": "bg bg", "gr": "gr el", "ie": "ie en ga", "at": "at de", "ch": "ch de fr it", "be": "be nl fr de",
    "uk": "gb en"
  }
}