GET /metagenomics/api/v1/samples/ERS20395865?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "data": {
        "type": "samples",
        "id": "ERS20395865",
        "attributes": {
            "longitude": -56.3192,
            "biosample": "SAMEA7919472",
            "latitude": -44.7033,
            "sample-metadata": [
                {
                    "key": "geographic location (longitude)",
                    "value": "-56.31916667",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Atlantic Ocean",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2021-11-19T17:39:00Z",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "5",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-44.70333333",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000011",
                    "unit": null
                }
            ],
            "accession": "ERS20395865",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "This marine metagenome sample was collected during campaign Trird-Party-Houssay on date/time 2021-11-19T17:39:00Z, at location 44.7033 S 56.3191 W and depth (m)=5, using protocol S023 with sample pid SAMEA7919472",
            "environment-biome": null,
            "environment-feature": null,
            "environment-material": null,
            "sample-name": "SAMPLE_2021-11-19T17:39:00Z_MMH-A07_S023_7919472",
            "sample-alias": "SAMPLE_2021-11-19T17:39:00Z_MMH-A07_S023_7919472",
            "host-tax-id": null,
            "species": null,
            "last-update": "2025-11-25T21:01:39"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Aquatic:Marine"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Aquatic:Marine?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS20395865/studies?format=api"
                },
                "data": []
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS20395865/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS20395865?format=api"
        }
    }
}