Search the catalog#
Find and read records of imagery and other collections: list collections, search, scan, and read one record.
Prerequisites#
A connected client (Use the Python client) with
services:read.MCP tools:
catalog_list_collections,catalog_search,catalog_scan,catalog_get_record.
Steps#
List collections:
for item in client.catalog.list_collections(): print(item.name, item.record_count)
REST:
GET /v1/catalog/collections.Search one collection by text, metadata, box and time:
from datetime import datetime, timezone from geonemo.client import CatalogSearchRequest page = client.catalog.search( CatalogSearchRequest( collection="preview-imagery", text="harbor", filters={"platform": "sentinel-2"}, bbox=(4.0, 51.5, 4.8, 52.0), when_from=datetime(2026, 1, 1, tzinfo=timezone.utc), limit=20, ) ) for hit in page.items: print(hit.id, hit.score)
REST:
POST /v1/catalog/searchwith the same fields as JSON. UsePOST /v1/catalog/search-pageandsearch_pagefor paging withcursor. Search filters match exact values. For a condition object (exists,gte,lte,gt,lt,containsorone_of), list records withbrowse(POST /v1/catalog/records), for example{"cloud_cover": {"lte": 5}}.Scan a collection completely, in stable order:
from geonemo.client.catalog_scan import CatalogScanRequest cursor = None while True: result = client.catalog.scan( CatalogScanRequest(collection="preview-imagery", cursor=cursor) ) for record in result.items: print(record.id) cursor = result.next_cursor if cursor is None: break
REST:
POST /v1/catalog/scan. Filters are limited tosensor,platform,instrument,productandmodality.Read one record:
record = client.catalog.get_record("preview-imagery", "preview-coast-001")
REST:
GET /v1/catalog/collections/{collection}/records/{record_id}. The client returnsNonefor an unknown record.
Result#
Search returns ranked hits that are only discovery: read the exact record before acting on it.
More calls: collection_stats, metadata_fields, get_records (up to 500 IDs), facets.
See Catalog API.