The whole catalog's counts by kind, provenance, category and repository state.

Exists to build a filter without sweeping the listings: there are tens of thousands, and asking for the list just to count would be expensive. Each dimension ignores its own selection and respects the other filters. These counts describe the search. For catalog tab totals, use the unfiltered response. Language and license come from repository metadata. Also brings topico_inferido, deduced from the repositories. Returns: { total, facetas, topico_inferido, interpretacao, publicador?, api }

get/api/facets

Request

  • Base URL: https://agentalog.com
  • URL: https://agentalog.com/api/facets
  • Auth: none required

Query parameters

qstring

The same text query as /api/listings.

kindstring

Resource kind.

languagestring

Repository code languages, comma-separated. Preserve case, for example Python.

licensestring

Repository licenses, comma-separated, for example MIT,Apache-2.0. Preserve case.

min_starsinteger

Minimum repository stars, from 0 to 999999999.

min_forksinteger

Minimum forks of a repository with collected activity data.

min_prsinteger

Minimum open pull requests of a repository with collected activity data.

max_prsinteger

Maximum open pull requests of a repository with collected activity data.

added_sincestring

Catalog arrival on or after YYYY-MM-DD. This is not the original publication date.

pushed_sincestring

Last repository code push on or after YYYY-MM-DD.

has_code'0' | '1'

Whether a repository link is available. This does not certify the code.

Response

{ total, facetas, topico_inferido, interpretacao, publicador?, api }

totalinteger required

Live listings in the catalog.

facetasobject required

Map of facet → list of { v, n } (value and count): kind, origin, category, repo_estado, transporte…

topico_inferidoobject required

Topics deduced from the repositories, with the count of each.

interpretacaoobject nullable required

Same query understanding as /api/listings, so the counts match the list.

publicadorobject nullable

{ ns, n, stars } when the slice has exactly one ns — the publisher's live listings and their stars summed, regardless of the other filters (the publisher page header); null otherwise. Responses cached before 13/09/2026 may not carry the key yet.

apistring required

Absolute URL of this route.

Changes

No recorded changes to this operation across all 1 revision of this API.