# BendHub > BendHub (https://hub.bend-lang.com) is where Bend packages live. A > package is a set of files named by the hash of its content, 0x and 32 > hex digits, and never changes. A name gives packages readable versions: > name@1.2.0.0. Everything below is JSON over GET, public, with no key, > readable from any origin. Fields are added over time, never renamed or > removed. ## Packages - GET /packages.json?sort=hot|new&limit=&after= : every live package, a page of them, and total. Each: hash, files {path: bytes}, bytes, ts, desc, entry, name, version, about, url, dependents, mentions, score, license, readme, native, native_via, laws. Hot ranks by dependents plus posts. desc is the comment the entry file opens with; about and url are what the name's owner says of it and where its source lives, "" when nothing is said. Show about when it is not empty, else desc. laws counts the law declarations in its own files: what its code is held to, which the hub reads and does not check. - GET /package/0x.json : one package, plus deps, the hashes it imports. - GET /dependents.json?hash=0x&limit=&after= : the live packages that import it, newest first, and total. With deps, a walk of the dependency graph both ways. - GET /0x/manifest : one " " line per file. - GET /0x/ : a file, as text. - GET /index.json : every live package, newest first, short form. ## Names and search - GET /name/ : owner_login, about, url, dependents, mentions, latest, and versions newest first, each with native, adds_native and adds_imports against the version before it. - GET /name/@ : the hash it names, as text. - GET /names.json?sort=hot|new&limit= : names, ranked or newest. - GET /names.json?hash=0x : every name@version naming a hash. - GET /search.json?q= : names whose name or about contains q, and packages whose description or README contains q, any case; each package says which it matched. - GET /stats.json : the hub's counts. ## Importing what you find import 0x/ as Lib import @/ as Lib ## Native code native is a package's own .c and .js files: foreign definitions, which Bend compiles or runs without checking them. native_via is a package it imports that has native code or leads to some. Neither says a package is safe. Any package can also act through Base's IO; a definition whose type has no IO cannot. Prefer packages without native code when they do the job, and look at what returns IO before running a program. https://hub.bend-lang.com/guide#native says more. ## Limits - /search.json: 60 a minute per address. - The other routes above: 600 a minute per address, together. - IPv6 counts by /64. Over a limit: 429 with Retry-After in seconds. - limit is 1 to 100, 30 by default. q is cut to 100 characters. ## Elsewhere - JendHub, https://jend.leeeet.dev/llms.txt : a community search over every definition in BendHub's packages, by name, task or type. - The guide, https://hub.bend-lang.com/guide