For the complete documentation index, see llms.txt. This page is also available as Markdown.

Locations

Map location clusters

get

Low-zoom map clusters. Returns geohash aggregates as { point: {lat, lon}, count } using the same sample filters as GET /api/samples/. Use bbox=min_lon,min_lat,max_lon,max_lat, precision, and size.

Authorizations
AuthorizationstringOptional

Token-based authentication with required prefix "Token"

Query parameters
age_maxnumber · floatOptional

Upper bound on numeric age (numeric_age_max ≤ value).

age_minnumber · floatOptional

Lower bound on numeric age (numeric_age_min ≥ value).

batch_history_idintegerOptional

Restrict to samples registered in this batch history PK (requires view permission on the batch).

bboxstringOptional

WGS84 bounding box as min_lon,min_lat,max_lon,max_lat.

check_related_resource_idintegerOptional

Annotates rows linked to this related-resource primary key (used with list UI).

collected_afterstring · date-timeOptional

Samples with sampling_start_date on or after this instant.

collected_beforestring · date-timeOptional

Samples with sampling_end_date on or before this instant.

collectorstringOptional

Substring match on individual or institution collector label.

continentstringOptional

Continent code or label (exact field match on continent).

countrystringOptional

Country ISO 3166 code(s), comma-separated (e.g. US,CA).

current_archivestringOptional

Substring match on current archive label or alt label.

depth_maxnumber · floatOptional

Samples with depth_max ≤ this value.

depth_minnumber · floatOptional

Samples with depth_min ≥ this value.

descriptionstringOptional

Case-insensitive substring match on sample_description.

elevation_maxnumber · floatOptional

Samples with elevation ≤ this value (meters).

elevation_minnumber · floatOptional

Samples with elevation ≥ this value (meters).

exclude_child_samplesstring · enumOptional

If true, only top-level samples (parent_sample empty).

Possible values:
external_sample_idstringOptional

Exact match on external_sample_id.

field_namestringOptional

Case-insensitive match on material name verbatim (material_name_verbatim).

formatstringOptional

Reserved pass-through (same allowlist as list views).

geographic_regionstringOptional

Substring match across locality, province, location fields, etc.

geologic_age_unitstringOptional

Substring match on geologic_age_verbatim or geologic_unit.

has_agestring · enumOptional

If true, only samples with non-null numeric_age_min, numeric_age_max, or geologic_age_verbatim.

Possible values:
has_geolocationstring · enumOptional

If true, only samples with a non-null geom_latlong.

Possible values:
has_imagesstring · enumOptional

If true, only samples with a related resource of type Image.

Possible values:
has_linked_resourcesstring · enumOptional

If true, samples with linked resources excluding Image.

Possible values:
has_resource_typestringOptional

Exact case-insensitive related-resource type label (e.g. publication type labels).

igsnstringOptional

Case-insensitive substring match on IGSN.

initiativestringOptional

Substring match on initiative label or normalized label linked as cruise/program.

initiative_idintegerOptional

Restrict to samples linked to this initiative PK (requires view permission on initiative).

is_draftstring · enumOptional

If true, only drafts (authenticated, owner contexts). If false, exclude drafts.

Possible values:
launch_platformstringOptional

Substring match on launch platform label or normalized label.

launch_platform_idintegerOptional

Restrict to samples using this launch platform PK (requires view permission).

materialstringOptional

Comma-separated material type IDs; expands to descendants for FK and M2M material match.

namestringOptional

Case-insensitive substring match on sample name.

object_typestringOptional

Object type label(s); matches object_type__in.

orderingstringOptional

Sort field(s). Prefix - for descending (same as DRF OrderingFilter).

pageintegerOptional

Page number when using paginated list endpoints.

page_sizeintegerOptional

Page size when using paginated list endpoints.

platformstringOptional

Substring match on platform label or normalized label.

platform_idintegerOptional

Restrict to samples using this platform PK (requires view permission).

pointstringOptional

WKT POINT (POINT(lon lat)); use with optional radius (meters, default 1000).

polygonstringOptional

WKT or GeoJSON geometry; samples with geom_latlong inside the polygon (SRID 4326 if omitted).

precisionintegerOptional

Geohash precision 1–12 for clusters (default 3).

published_afterstring · date-timeOptional

Samples with publish_date ≥ this instant.

published_beforestring · date-timeOptional

Samples with publish_date ≤ this instant.

qstringOptional

Search substring matched against IGSN or name.

radiusnumber · floatOptional

Radius in meters around point (ignored without point).

registered_afterstring · date-timeOptional

Samples with registration_date ≥ this instant.

registered_beforestring · date-timeOptional

Samples with registration_date ≤ this instant.

related_resource_idintegerOptional

Samples linked to this related resource PK (requires view permission).

sample_group_idintegerOptional

Samples in this sample group PK (requires view permission on the group).

sampling_methodstringOptional

Case-insensitive match on linked sampling method label.

scopestringOptional

Visibility: public (published metadata), personal (your samples), shared (SESAR code grants), personal_and_shared; other values fall back to authenticated/public rules per server logic.

sesar_codestringOptional

SESAR code(s); matches sesar_code__in.

sizeintegerOptional

Max clusters / groups / point rows to return.

team_namestringOptional

Restrict to samples owned by this team (must be authenticated member).

Responses
200Success
application/json
statusstringRequired
countintegerRequired
get/api/locations/
GET /api/locations/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "status": "text",
  "count": 1,
  "data": [
    {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ]
}

Samples near a map click

get

Detail rows near a clicked map coordinate. Requires point=POINT(lon lat) and optional radius in meters.

Authorizations
AuthorizationstringOptional

Token-based authentication with required prefix "Token"

Query parameters
age_maxnumber · floatOptional

Upper bound on numeric age (numeric_age_max ≤ value).

age_minnumber · floatOptional

Lower bound on numeric age (numeric_age_min ≥ value).

batch_history_idintegerOptional

Restrict to samples registered in this batch history PK (requires view permission on the batch).

bboxstringOptional

WGS84 bounding box as min_lon,min_lat,max_lon,max_lat.

check_related_resource_idintegerOptional

Annotates rows linked to this related-resource primary key (used with list UI).

collected_afterstring · date-timeOptional

Samples with sampling_start_date on or after this instant.

collected_beforestring · date-timeOptional

Samples with sampling_end_date on or before this instant.

collectorstringOptional

Substring match on individual or institution collector label.

continentstringOptional

Continent code or label (exact field match on continent).

countrystringOptional

Country ISO 3166 code(s), comma-separated (e.g. US,CA).

current_archivestringOptional

Substring match on current archive label or alt label.

depth_maxnumber · floatOptional

Samples with depth_max ≤ this value.

depth_minnumber · floatOptional

Samples with depth_min ≥ this value.

descriptionstringOptional

Case-insensitive substring match on sample_description.

elevation_maxnumber · floatOptional

Samples with elevation ≤ this value (meters).

elevation_minnumber · floatOptional

Samples with elevation ≥ this value (meters).

exclude_child_samplesstring · enumOptional

If true, only top-level samples (parent_sample empty).

Possible values:
external_sample_idstringOptional

Exact match on external_sample_id.

field_namestringOptional

Case-insensitive match on material name verbatim (material_name_verbatim).

formatstringOptional

Reserved pass-through (same allowlist as list views).

geographic_regionstringOptional

Substring match across locality, province, location fields, etc.

geologic_age_unitstringOptional

Substring match on geologic_age_verbatim or geologic_unit.

has_agestring · enumOptional

If true, only samples with non-null numeric_age_min, numeric_age_max, or geologic_age_verbatim.

Possible values:
has_geolocationstring · enumOptional

If true, only samples with a non-null geom_latlong.

Possible values:
has_imagesstring · enumOptional

If true, only samples with a related resource of type Image.

Possible values:
has_linked_resourcesstring · enumOptional

If true, samples with linked resources excluding Image.

Possible values:
has_resource_typestringOptional

Exact case-insensitive related-resource type label (e.g. publication type labels).

igsnstringOptional

Case-insensitive substring match on IGSN.

initiativestringOptional

Substring match on initiative label or normalized label linked as cruise/program.

initiative_idintegerOptional

Restrict to samples linked to this initiative PK (requires view permission on initiative).

is_draftstring · enumOptional

If true, only drafts (authenticated, owner contexts). If false, exclude drafts.

Possible values:
launch_platformstringOptional

Substring match on launch platform label or normalized label.

launch_platform_idintegerOptional

Restrict to samples using this launch platform PK (requires view permission).

materialstringOptional

Comma-separated material type IDs; expands to descendants for FK and M2M material match.

namestringOptional

Case-insensitive substring match on sample name.

object_typestringOptional

Object type label(s); matches object_type__in.

orderingstringOptional

Sort field(s). Prefix - for descending (same as DRF OrderingFilter).

pageintegerOptional

Page number when using paginated list endpoints.

page_sizeintegerOptional

Page size when using paginated list endpoints.

platformstringOptional

Substring match on platform label or normalized label.

platform_idintegerOptional

Restrict to samples using this platform PK (requires view permission).

pointstringOptional

WKT POINT (POINT(lon lat)); use with optional radius (meters, default 1000).

polygonstringOptional

WKT or GeoJSON geometry; samples with geom_latlong inside the polygon (SRID 4326 if omitted).

precisionintegerOptional

Geohash precision 1–12 for clusters (default 3).

published_afterstring · date-timeOptional

Samples with publish_date ≥ this instant.

published_beforestring · date-timeOptional

Samples with publish_date ≤ this instant.

qstringOptional

Search substring matched against IGSN or name.

radiusnumber · floatOptional

Radius in meters around point (ignored without point).

registered_afterstring · date-timeOptional

Samples with registration_date ≥ this instant.

registered_beforestring · date-timeOptional

Samples with registration_date ≤ this instant.

related_resource_idintegerOptional

Samples linked to this related resource PK (requires view permission).

sample_group_idintegerOptional

Samples in this sample group PK (requires view permission on the group).

sampling_methodstringOptional

Case-insensitive match on linked sampling method label.

scopestringOptional

Visibility: public (published metadata), personal (your samples), shared (SESAR code grants), personal_and_shared; other values fall back to authenticated/public rules per server logic.

sesar_codestringOptional

SESAR code(s); matches sesar_code__in.

sizeintegerOptional

Max clusters / groups / point rows to return.

team_namestringOptional

Restrict to samples owned by this team (must be authenticated member).

Responses
200Success
application/json
statusstringRequired
countintegerRequired
get/api/locations/point/
GET /api/locations/point/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "status": "text",
  "count": 1,
  "data": [
    {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ]
}

Map location sample groups

get

Higher-zoom location markers grouped by parent/root sample. Each group includes nested sample stubs and a representative point.

Authorizations
AuthorizationstringOptional

Token-based authentication with required prefix "Token"

Query parameters
age_maxnumber · floatOptional

Upper bound on numeric age (numeric_age_max ≤ value).

age_minnumber · floatOptional

Lower bound on numeric age (numeric_age_min ≥ value).

batch_history_idintegerOptional

Restrict to samples registered in this batch history PK (requires view permission on the batch).

bboxstringOptional

WGS84 bounding box as min_lon,min_lat,max_lon,max_lat.

check_related_resource_idintegerOptional

Annotates rows linked to this related-resource primary key (used with list UI).

collected_afterstring · date-timeOptional

Samples with sampling_start_date on or after this instant.

collected_beforestring · date-timeOptional

Samples with sampling_end_date on or before this instant.

collectorstringOptional

Substring match on individual or institution collector label.

continentstringOptional

Continent code or label (exact field match on continent).

countrystringOptional

Country ISO 3166 code(s), comma-separated (e.g. US,CA).

current_archivestringOptional

Substring match on current archive label or alt label.

depth_maxnumber · floatOptional

Samples with depth_max ≤ this value.

depth_minnumber · floatOptional

Samples with depth_min ≥ this value.

descriptionstringOptional

Case-insensitive substring match on sample_description.

elevation_maxnumber · floatOptional

Samples with elevation ≤ this value (meters).

elevation_minnumber · floatOptional

Samples with elevation ≥ this value (meters).

exclude_child_samplesstring · enumOptional

If true, only top-level samples (parent_sample empty).

Possible values:
external_sample_idstringOptional

Exact match on external_sample_id.

field_namestringOptional

Case-insensitive match on material name verbatim (material_name_verbatim).

formatstringOptional

Reserved pass-through (same allowlist as list views).

geographic_regionstringOptional

Substring match across locality, province, location fields, etc.

geologic_age_unitstringOptional

Substring match on geologic_age_verbatim or geologic_unit.

has_agestring · enumOptional

If true, only samples with non-null numeric_age_min, numeric_age_max, or geologic_age_verbatim.

Possible values:
has_geolocationstring · enumOptional

If true, only samples with a non-null geom_latlong.

Possible values:
has_imagesstring · enumOptional

If true, only samples with a related resource of type Image.

Possible values:
has_linked_resourcesstring · enumOptional

If true, samples with linked resources excluding Image.

Possible values:
has_resource_typestringOptional

Exact case-insensitive related-resource type label (e.g. publication type labels).

igsnstringOptional

Case-insensitive substring match on IGSN.

initiativestringOptional

Substring match on initiative label or normalized label linked as cruise/program.

initiative_idintegerOptional

Restrict to samples linked to this initiative PK (requires view permission on initiative).

is_draftstring · enumOptional

If true, only drafts (authenticated, owner contexts). If false, exclude drafts.

Possible values:
launch_platformstringOptional

Substring match on launch platform label or normalized label.

launch_platform_idintegerOptional

Restrict to samples using this launch platform PK (requires view permission).

materialstringOptional

Comma-separated material type IDs; expands to descendants for FK and M2M material match.

namestringOptional

Case-insensitive substring match on sample name.

object_typestringOptional

Object type label(s); matches object_type__in.

orderingstringOptional

Sort field(s). Prefix - for descending (same as DRF OrderingFilter).

pageintegerOptional

Page number when using paginated list endpoints.

page_sizeintegerOptional

Page size when using paginated list endpoints.

platformstringOptional

Substring match on platform label or normalized label.

platform_idintegerOptional

Restrict to samples using this platform PK (requires view permission).

pointstringOptional

WKT POINT (POINT(lon lat)); use with optional radius (meters, default 1000).

polygonstringOptional

WKT or GeoJSON geometry; samples with geom_latlong inside the polygon (SRID 4326 if omitted).

precisionintegerOptional

Geohash precision 1–12 for clusters (default 3).

published_afterstring · date-timeOptional

Samples with publish_date ≥ this instant.

published_beforestring · date-timeOptional

Samples with publish_date ≤ this instant.

qstringOptional

Search substring matched against IGSN or name.

radiusnumber · floatOptional

Radius in meters around point (ignored without point).

registered_afterstring · date-timeOptional

Samples with registration_date ≥ this instant.

registered_beforestring · date-timeOptional

Samples with registration_date ≤ this instant.

related_resource_idintegerOptional

Samples linked to this related resource PK (requires view permission).

sample_group_idintegerOptional

Samples in this sample group PK (requires view permission on the group).

sampling_methodstringOptional

Case-insensitive match on linked sampling method label.

scopestringOptional

Visibility: public (published metadata), personal (your samples), shared (SESAR code grants), personal_and_shared; other values fall back to authenticated/public rules per server logic.

sesar_codestringOptional

SESAR code(s); matches sesar_code__in.

sizeintegerOptional

Max clusters / groups / point rows to return.

team_namestringOptional

Restrict to samples owned by this team (must be authenticated member).

Responses
200Success
application/json
statusstringRequired
countintegerRequired
get/api/locations/samples/
GET /api/locations/samples/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
  "status": "text",
  "count": 1,
  "data": [
    {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    }
  ]
}

Last updated

Was this helpful?