Skip to content
GET /v1/search

Search the Hex registry

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/hex-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/hex-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/hex-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/hex-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/hex-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "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 
…