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

{
    "data": {
        "type": "samples",
        "id": "ERS25313689",
        "attributes": {
            "longitude": -39.1931,
            "biosample": "SAMEA118794890",
            "latitude": -7.1216,
            "sample-metadata": [
                {
                    "key": "project name",
                    "value": "PRJEB92452",
                    "unit": null
                },
                {
                    "key": "geographic location (longitude)",
                    "value": "-39.193115",
                    "unit": null
                },
                {
                    "key": "geographic location (country and/or sea,region)",
                    "value": "Brazil",
                    "unit": null
                },
                {
                    "key": "collection date",
                    "value": "2017-09-27",
                    "unit": null
                },
                {
                    "key": "environment (biome)",
                    "value": "Area de grave poluicao ambiental por metais pesados",
                    "unit": null
                },
                {
                    "key": "environment (feature)",
                    "value": "dryland soil",
                    "unit": null
                },
                {
                    "key": "environment (material)",
                    "value": "water/soil",
                    "unit": null
                },
                {
                    "key": "depth",
                    "value": "0.005",
                    "unit": null
                },
                {
                    "key": "elevation",
                    "value": "677.78",
                    "unit": null
                },
                {
                    "key": "geographic location (latitude)",
                    "value": "-7.121625",
                    "unit": null
                },
                {
                    "key": "ENA checklist",
                    "value": "ERC000022",
                    "unit": null
                }
            ],
            "accession": "ERS25313689",
            "analysis-completed": null,
            "collection-date": null,
            "geo-loc-name": null,
            "sample-desc": "Metagenomic analysis of soil sample",
            "environment-biome": "Area de grave poluicao ambiental por metais pesados",
            "environment-feature": "dryland soil",
            "environment-material": "water/soil",
            "sample-name": "Metagenomic_solo_RS",
            "sample-alias": "Metagenomic_solo_RS",
            "host-tax-id": null,
            "species": null,
            "last-update": "2025-08-23T12:54:46"
        },
        "relationships": {
            "biome": {
                "data": {
                    "type": "biomes",
                    "id": "root:Environmental:Terrestrial:Soil:Contaminated"
                },
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Environmental:Terrestrial:Soil:Contaminated?format=api"
                }
            },
            "studies": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS25313689/studies?format=api"
                },
                "data": [
                    {
                        "type": "studies",
                        "id": "MGYS00006846",
                        "links": {
                            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006846?format=api"
                        }
                    }
                ]
            },
            "runs": {
                "links": {
                    "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS25313689/runs?format=api"
                }
            }
        },
        "links": {
            "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS25313689?format=api"
        }
    }
}