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

{
    "links": {
        "first": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006846/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006846/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS25265507",
            "attributes": {
                "longitude": -39.2617,
                "biosample": "SAMEA118774560",
                "latitude": -7.1649,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "PRJEB92452",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-39.261734",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2017-04-05",
                        "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": "100",
                        "unit": null
                    },
                    {
                        "key": "elevation",
                        "value": "696.99",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-7.164863",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    }
                ],
                "accession": "ERS25265507",
                "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_RG",
                "sample-alias": "Metagenomic_solo_RG",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-11-05T16:34:29"
            },
            "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/ERS25265507/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/ERS25265507/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS25265507?format=api"
            }
        },
        {
            "type": "samples",
            "id": "ERS25313690",
            "attributes": {
                "longitude": -39.1859,
                "biosample": "SAMEA118794891",
                "latitude": -7.1445,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "PRJEB92452",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "-39.185885",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Brazil",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2017-03-19",
                        "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": "392.4",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "-7.144502",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000022",
                        "unit": null
                    }
                ],
                "accession": "ERS25313690",
                "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_RA",
                "sample-alias": "Metagenomic_solo_RA",
                "host-tax-id": null,
                "species": null,
                "last-update": "2025-11-05T16:33:02"
            },
            "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/ERS25313690/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/ERS25313690/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS25313690?format=api"
            }
        },
        {
            "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"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 3
        }
    }
}