Skip to main content

Documentation Index

Fetch the complete documentation index at: https://code4source.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Returns the catalog of sources you can reference in queries and rulesets.

Request

GET /v1/sources
GET /v1/sources?kind=leaf
GET /v1/sources?kind=subject_register
GET /v1/sources?country_iso3=BRA
Query paramNotes
kindleaf, group, or subject_register.
country_iso3Filter by country (ISO 3166-1 alpha-3).

Kinds

  • leaf — a regular spatial source.
  • group — a virtual collection that expands to several leaves; selecting a group is equivalent to querying all of its members.
  • subject_register — non-spatial source keyed by typed identifiers; carries supported_schemes.

Response

{
  "data": {
    "items": [
      {
        "source_name": "br:icmbio:conservation-units",
        "source_dataset": "Conservation Units (federal)",
        "source_url": "https://...",
        "category": "protected_area",
        "license_spdx": "CC-BY-4.0",
        "kind": "leaf",
        "feature_count": 2348,
        "country_coverage": ["BRA"],
        "collected_at_latest": "2026-05-01T03:14:00Z"
      },
      {
        "source_name": "ofac:sdn",
        "source_dataset": "OFAC Specially Designated Nationals",
        "kind": "subject_register",
        "feature_count": 12450,
        "supported_schemes": ["ofac:sdn"],
        "collected_at_latest": "2026-05-04T12:00:00Z"
      }
    ]
  }
}