{"openapi":"3.1.0","info":{"title":"Hex API","version":"1.0.0","description":"The Elixir and Erlang package ecosystem — Hex (hex.pm) — as an API. Look up any Hex package for its description, licenses, latest version, GitHub / docs / changelog links, owners and download counts (all-time and recent); read a package's complete release history with publication dates; get a single release's dependency list, Elixir version constraint and build tools; and search the entire Hex registry by keyword. Covers the Elixir/Erlang (BEAM) ecosystem from Phoenix, Ecto and Plug to Jason, Absinthe and Nerves. Live from the official hex.pm API. Ideal for package dashboards, dependency and supply-chain tooling, Elixir developer portals and BEAM ecosystem analytics. Open data from Hex.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/hex-api","description":"oanor gateway"}],"tags":[{"name":"Hex"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/package":{"get":{"operationId":"get_v1_package","tags":["Hex"],"summary":"Package metadata + downloads + recent releases","description":"","parameters":[{"name":"name","in":"query","required":true,"description":"Hex package name, e.g. phoenix","schema":{"type":"string"},"example":"phoenix"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"package":{"name":"phoenix","links":{"GitHub":"https://github.com/phoenixframework/phoenix","Changelog":"https://hexdocs.pm/phoenix/changelog.html"},"owners":[{"url":"https://hex.pm/api/users/chrismccord","username":"chrismccord"},{"url":"https://hex.pm/api/users/josevalim","username":"josevalim"},{"url":"https://hex.pm/api/users/gazler","username":"gazler"},{"url":"https://hex.pm/api/users/jeregrine","username":"jeregrine"},{"url":"https://hex.pm/api/users/steffend","username":"steffend"}],"html_url":"https://hex.pm/packages/phoenix","licenses":["MIT"],"downloads":{"all":150117848,"day":17151,"week":279074,"recent":3166740},"updated_at":"2026-05-06T07:30:27.416322Z","description":"Peace of mind from prototype to production","inserted_at":"2014-04-21T22:38:32.000000Z","docs_html_url":"https://phoenix.hexdocs.pm/","version_count":171,"latest_version":"1.8.7","recent_releases":[{"version":"1.8.7","has_docs":true,"inserted_at":"2026-05-06T07:30:24.053937Z"},{"version":"1.8.6","has_docs":true,"inserted_at":"2026-05-05T14:57:20.174540Z"},{"version":"1.8.5","has_docs":true,"inserted_at":"2026-03-05T15:22:23.915693Z"},{"version":"1.8.4","has_docs":true,"inserted_at":"2026-02-23T17:02:40.126848Z"},{"version":"1.8.3","has_docs":true,"inserted_at":"2025-12-08T19:30:23.251869Z"},{"version":"1.8.2","has_docs":true,"inserted_at":"2025-11-26T18:35:41.021547Z"},{"version":"1.8.1","has_docs":true,"inserted_at":"2025-08-29T02:06:56.448705Z"},{"version":"1.8.0","has_docs":true,"inserted_at":"2025-08-05T20:09:24.361355Z"}],"latest_stable_version":"1.8.7"}},"meta":{"timestamp":"2026-05-31T12:44:32.515Z","request_id":"8aef5956-5da9-4ddf-b898-6f59bae2bac5"},"status":"ok","message":"Package retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/release":{"get":{"operationId":"get_v1_release","tags":["Hex"],"summary":"Single release: dependencies + build info","description":"","parameters":[{"name":"name","in":"query","required":true,"description":"Hex package name, e.g. phoenix","schema":{"type":"string"},"example":"phoenix"},{"name":"version","in":"query","required":true,"description":"Version, e.g. 1.7.14","schema":{"type":"string"},"example":"1.7.14"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"release":{"app":"phoenix","elixir":"~> 1.11","package":"phoenix","version":"1.7.14","checksum":"c7859bc56cc5dfef19ecfc240775dae358cbaa530231118a9e014df392ace61a","has_docs":true,"downloads":5878652,"updated_at":"2024-06-18T17:12:38.891007Z","build_tools":["mix"],"inserted_at":"2024-06-18T17:12:33.509392Z","dependencies":[{"app":"castore","name":"castore","optional":false,"requirement":">= 0.0.0"},{"app":"jason","name":"jason","optional":true,"requirement":"~> 1.0"},{"app":"phoenix_pubsub","name":"phoenix_pubsub","optional":false,"requirement":"~> 2.1"},{"app":"phoenix_template","name":"phoenix_template","optional":false,"requirement":"~> 1.0"},{"app":"phoenix_view","name":"phoenix_view","optional":true,"requirement":"~> 2.0"},{"app":"plug","name":"plug","optional":false,"requirement":"~> 1.14"},{"app":"plug_cowboy","name":"plug_cowboy","optional":true,"requirement":"~> 2.7"},{"app":"plug_crypto","name":"plug_crypto","optional":false,"requirement":"~> 1.2 or ~> 2.0"},{"app":"telemetry","name":"telemetry","optional":false,"requirement":"~> 0.4 or ~> 1.0"},{"app":"websock_adapter","name":"websock_adapter","optional":false,"requirement":"~> 0.5.3"}]}},"meta":{"timestamp":"2026-05-31T12:44:32.715Z","request_id":"e0711d9f-d966-43c8-8e7d-ab39a51de06e"},"status":"ok","message":"Release retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/releases":{"get":{"operationId":"get_v1_releases","tags":["Hex"],"summary":"Full release history","description":"","parameters":[{"name":"name","in":"query","required":true,"description":"Hex package name, e.g. ecto","schema":{"type":"string"},"example":"ecto"},{"name":"limit","in":"query","required":false,"description":"Max releases (1-500, default 50)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":50,"total":192,"latest":"3.14.0","package":"ecto","releases":[{"version":"3.14.0","has_docs":true,"inserted_at":"2026-05-19T16:02:40.684729Z"},{"version":"3.13.6","has_docs":true,"inserted_at":"2026-05-05T14:28:17.970417Z"},{"version":"3.13.5","has_docs":true,"inserted_at":"2025-11-09T08:10:52.139053Z"},{"version":"3.13.4","has_docs":true,"inserted_at":"2025-10-24T07:47:26.654057Z"},{"version":"3.13.3","has_docs":true,"inserted_at":"2025-09-19T13:08:59.585452Z"},{"version":"3.13.2","has_docs":true,"inserted_at":"2025-06-24T10:03:30.127278Z"},{"version":"3.13.1","has_docs":true,"inserted_at":"2025-06-19T16:10:05.714214Z"},{"version":"3.13.0","has_docs":true,"inserted_at":"2025-06-18T11:35:05.560754Z"},{"version":"3.12.6","has_docs":true,"inserted_at":"2025-06-11T08:39:28.700607Z"},{"version":"3.12.5","has_docs":true,"inserted_at":"2024-11-28T19:19:51.665230Z"},{"version":"3.12.4","has_docs":true,"inserted_at":"2024-10-07T08:53:24.365184Z"},{"version":"3.12.3","has_docs":true,"inserted_at":"2024-09-06T16:55:43.077403Z"},{"version":"3.12.2","has_docs":true,"inserted_at":"2024-08-25T08:42:01.555285Z"},{"version":"3.12.1","has_docs":true,"inserted_at":"2024-08-13T06:12:34.655973Z"},{"version":"3.12.0","has_docs":true,"inserted_at":"2024-08-12T06:31:53.516465Z"},{"version":"3.11.2","has_docs":true,"inserted_at":"2024-03-07T14:49:13.236238Z"},{"version":"3.11.1","has_docs":true,"inserted_at":"2023-12-07T06:54:08.805205Z"},{"version":"3.11.0","has_docs":true,"inserted_at":"2023-11-14T09:31:37.843653Z"},{"version":"3.10.3","has_docs":true,"inserted_at":"2023-07-07T10:27:02.832223Z"},{"version":"3.10.2","has_docs":true,"inserted_at":"2023-06-08T09:59:13.760780Z"},{"version":"3.10.1","has_docs":true,"inserted_at":"2023-04-12T17:26:32.242863Z"},{"version":"3.10.0","has_docs":true,"inserted_at":"2023-04-10T17:44:51.669977Z"},{"version":"3.9.6","has_docs":true,"inserted_at":"2023-07-07T10:24:16.764483Z"},{"version":"3.9.5","has_docs":true,"inserted_at":"2023-03-22T13:35:05.123729Z"},{"version":"3.9.4","has_docs":true,"inserted_at":"2022-12-21T20:45:14.580439Z"},{"version":"3.9.3","has_docs":true,"inserted_at":"2022-12-20T19:12:48.604196Z"},{"version":"3.9.2","has_docs":true,"inserted_at":"2022-11-17T23:21:38.121406Z"},{"version":"3.9.1","has_docs":true,"inserted_at":"2022-10-06T09:31:42.165131Z"},{"version":"3.9.0","has_docs":true,"inserted_at":"2022-09-27T09:17:20.422528Z"},{"version":"3.8.4","has_docs":true,"inserted_at":"2022-06-04T07:40:37.097203Z"},{"version":"3.8.3","has_docs":true,"inserted_at":"2022-05-11T09:40:49.027828Z"},{"version":"3.8.2","has_docs":true,"inserted_at":"2022-05-05T07:43:05.472666Z"},{"version":"3.8.1","has_docs":true,"inserted_at":"2022-04-27T15:16:26.215163Z"},{"version":"3.8.0","has_docs":true,"inserted_at":"2022-04-26T09:35:28.502339Z"},{"version":"3.7.2","has_docs":true,"inserted_at":"2022-03-13T08:59:24.262920Z"},{"version":"3.7.1","has_docs":true,"inserted_at":"2021-08-27T08:32:35.539039Z"},{"version":"3.7.0","has_docs":true,"inserted_at":"2021-08-19T18:53:46.366955Z"},{"version":"3.6.2","has_docs":true,"inserted_at":"2021-05-28T12:51:31.014570Z"},{"version":"3.6.1","has_docs":true,"inserted_at":"2021-04-12T21:48:39.574729Z"},{"version":"3.6.0","has_docs":true,"inserted_at":"2021-04-03T06:49:04.185444Z"},{"version":"3.5.8","has_docs":true,"inserted_at":"2021-02-21T17:00:36.181456Z"},{"version":"3.5.7","has_docs":true,"inserted_at":"2021-02-07T09:38:03.266594Z"},{"version":"3.5.6","has_docs":true,"inserted_at":"2021-01-20T20:30:49.151361Z"},{"version":"3.5.5","has_docs":true,"inserted_at":"2020-11-12T08:58:08.619535Z"},{"version":"3.5.4","has_docs":true,"inserted_at":"2020-10-28T11:49:18.665108Z"},{"version":"3.5.3","has_docs":true,"inserted_at":"2020-10-21T07:06:45.499815Z"},{"version":"3.5.2","has_docs":true,"inserted_at":"2020-10-12T07:06:13.739185Z"},{"version":"3.5.1","has_docs":true,"inserted_at":"2020-10-08T07:32:14.463352Z"},{"version":"3.5.0","has_docs":true,"inserted_at":"2020-10-03T11:48:15.285988Z"},{"version":"3.5.0-rc.1","has_docs":true,"inserted_at":"2020-09-19T05:57:18.398224Z"}]},"meta":{"timestamp":"2026-05-31T12:44:32.909Z","request_id":"e95f6676-ee7f-4664-98bf-0fcfede5850c"},"status":"ok","message":"Releases retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/search":{"get":{"operationId":"get_v1_search","tags":["Hex"],"summary":"Search the Hex registry","description":"","parameters":[{"name":"q","in":"query","required":true,"description":"Search term","schema":{"type":"string"},"example":"json"},{"name":"page","in":"query","required":false,"description":"Page number","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results (1-100, default 20)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"page":1,"count":20,"query":"json","results":[{"name":"absinthe_json_scalar","html_url":"https://hex.pm/packages/absinthe_json_scalar","description":"This library provides an easily pluggable JSON scalar type for use with [Absinthe](https://github.com/absinthe-graphql/absinthe), a GraphQL implementation for Elixir. This package wraps the JSON scalar recipe from Absinthe docs.","downloads_all":43641,"latest_version":"0.1.0"},{"name":"absinthe_sorting_codec","html_url":"https://hex.pm/packages/absinthe_sorting_codec","description":"Codec for generating Absinthe JSON schemas in a deterministic format with alphabetically ordered type definitions","downloads_all":22364833,"latest_version":"1.0.1"},{"name":"accent","html_url":"https://hex.pm/packages/accent","description":"Dynamically convert the case of your JSON API keys","downloads_all":355005,"latest_version":"1.1.1"},{"name":"acpex","html_url":"https://hex.pm/packages/acpex","description":"An Elixir implementation of the Agent Client Protocol (ACP) for editor-agent communication. This library implements the JSON-RPC based protocol from agentclientprotocol.com.","downloads_all":17142,"latest_version":"0.1.0"},{"name":"admiral_stats_parser","html_url":"https://hex.pm/packages/admiral_stats_parser","description":"Parser for admiral stats JSON data exported from kancolle-arcade.net (Elixir version)","downloads_all":19500,"latest_version":"0.1.0"},{"name":"agent_client_protocol","html_url":"https://hex.pm/packages/agent_client_protocol","description":"Elixir implementation of the Agent Client Protocol (ACP) for communication between code editors and AI coding agents. Includes schema types, JSON-RPC primitives, behaviours, and connection management.","downloads_all":16946,"latest_version":"0.1.0"},{"name":"any_json","html_url":"https://hex.pm/packages/any_json","description":"Elixir library to wrap the main JSON libraries","downloads_all":41155,"latest_version":"0.2.1"},{"name":"arffy","html_url":"https://hex.pm/packages/arffy","description":"Little tool for converting JSON array or CSV to ARFF file.","downloads_all":975,"latest_version":"0.1.0"},{"name":"artefact","html_url":"https://hex.pm/packages/artefact","description":"Arrows JSON ↔ Cypher — knowledge graph fragments made in relationship","downloads_all":339,"latest_version":"0.3.0"},{"name":"ash_json_api","html_url":"https://hex.pm/packages/ash_json_api","description":"The JSON:API extension for the Ash Framework.","downloads_all":477758,"latest_version":"1.6.6"},{"name":"auto_struct","html_url":"https://hex.pm/packages/auto_struct","description":"Generate Elixir structs, conversion helpers, and JSON Schema validation from schemas.","downloads_all":40,"latest_version":"0.3.0"},{"name":"barrel_jiffy","html_url":"https://hex.pm/packages/barrel_jiffy","description":"JSON Decoder/Encoder.","downloads_all":5803,"latest_version":"0.14.5"},{"name":"benchee_json","html_url":"https://hex.pm/packages/benchee_json","description":"JSON formatter for the (micro) benchmarking library benchee.","downloads_all":1111089,"latest_version":"1.0.0"},{"name":"bible_scrapper","html_url":"https://hex.pm/packages/bible_scrapper","description":"A Bible webscraper that scrapes the Bible and saves it to a JSON file.","downloads_all":129,"latest_version":"0.2.0"},{"name":"bitcoin_rpc","html_url":"https://hex.pm/packages/bitcoin_rpc","description":"Interact with a Bitcoin node through JSON-RPC and get notifications on configured events like incomming transactions.","downloads_all":1518,"latest_version":"0.1.0"},{"name":"boom","html_url":"https://hex.pm/packages/boom","description":"`Boom` is inspired by the NodeJS package `@hapi/boom`, allowing you to respond with json errors easily.","downloads_all":831,"latest_version":"0.1.1"},{"name":"bpxe_jmes","html_url":"https://hex.pm/packages/bpxe_jmes","description":"JMES implements JMESPath, a query language for JSON (BPXE's fork)","downloads_all":609,"latest_version":"0.6.1"},{"name":"braise","html_url":"https://hex.pm/packages/braise","description":"A library that converts JSON Schema into ember models/adapters.","downloads_all":11931,"latest_version":"0.4.0"},{"name":"bson_erlang","html_url":"https://hex.pm/packages/bson_erlang","description":"BSON are JSON-like objects with a standard binary serialization. See bsonspec.org","downloads_all":65474,"latest_version":"0.3.1"},{"name":"bsv_rpc","html_url":"https://hex.pm/packages/bsv_rpc","description":"Bitcoin SV library (basic tools, transaction signing, JSON-RPC client, MetaNet library, ...).","downloads_all":3852,"latest_version":"1.0.0-alpha3"}]},"meta":{"timestamp":"2026-05-31T12:44:33.295Z","request_id":"26556409-5a0e-4ffa-a783-cc172bcdbf0a"},"status":"ok","message":"Packages searched","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Source & options","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Live hex.pm registry data. /v1/package = metadata (description, licenses, links, owners, downloads, recent releases); /v1/releases = full version history; /v1/release = a single release's dependencies, Elixir constraint and build tools; /v1/search = search the registry.","source":"Hex — the Elixir / Erlang package registry (hex.pm)","endpoints":["/v1/package","/v1/releases","/v1/release","/v1/search","/v1/meta"]},"meta":{"timestamp":"2026-05-31T12:44:33.346Z","request_id":"95090d5f-18dd-4ce2-a142-f875445e3bf1"},"status":"ok","message":"Meta retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":3490,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":415,"monthly_call_quota":47800,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1265,"monthly_call_quota":235000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":3315,"monthly_call_quota":1180000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/hex-api"}