GET /metagenomics/api/v1/studies/MGYS00006598/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/MGYS00006598/samples?format=api&page=1",
        "last": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006598/samples?format=api&page=1",
        "next": null,
        "prev": null
    },
    "data": [
        {
            "type": "samples",
            "id": "ERS14884933",
            "attributes": {
                "longitude": 2.8031,
                "biosample": "SAMEA112878278",
                "latitude": 41.6733,
                "sample-metadata": [
                    {
                        "key": "project name",
                        "value": "ASG",
                        "unit": null
                    },
                    {
                        "key": "geographic location (longitude)",
                        "value": "2.80314",
                        "unit": null
                    },
                    {
                        "key": "geographic location (country and/or sea,region)",
                        "value": "Spain",
                        "unit": null
                    },
                    {
                        "key": "collection date",
                        "value": "2021-02-01",
                        "unit": null
                    },
                    {
                        "key": "environment (biome)",
                        "value": "aquatic biome",
                        "unit": null
                    },
                    {
                        "key": "environment (feature)",
                        "value": "marine benthic biome",
                        "unit": null
                    },
                    {
                        "key": "environment (material)",
                        "value": "adult sponge tissue",
                        "unit": null
                    },
                    {
                        "key": "depth",
                        "value": "14",
                        "unit": null
                    },
                    {
                        "key": "host taxid",
                        "value": "72715",
                        "unit": null
                    },
                    {
                        "key": "geographic location (latitude)",
                        "value": "41.67333",
                        "unit": null
                    },
                    {
                        "key": "ENA checklist",
                        "value": "ERC000013",
                        "unit": null
                    },
                    {
                        "key": "host scientific name",
                        "value": "Agelas oroides",
                        "unit": null
                    }
                ],
                "accession": "ERS14884933",
                "analysis-completed": null,
                "collection-date": null,
                "geo-loc-name": null,
                "sample-desc": "db0527fc-e0c1-4a48-ad80-6cea82317ae5-asg-metagenome",
                "environment-biome": "aquatic biome",
                "environment-feature": "marine benthic biome",
                "environment-material": "adult sponge tissue",
                "sample-name": "db0527fc-e0c1-4a48-ad80-6cea82317ae5",
                "sample-alias": "db0527fc-e0c1-4a48-ad80-6cea82317ae5",
                "host-tax-id": 72715,
                "species": null,
                "last-update": "2025-07-01T15:42:48"
            },
            "relationships": {
                "biome": {
                    "data": {
                        "type": "biomes",
                        "id": "root:Host-associated:Porifera"
                    },
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/biomes/root:Host-associated:Porifera?format=api"
                    }
                },
                "studies": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS14884933/studies?format=api"
                    },
                    "data": [
                        {
                            "type": "studies",
                            "id": "MGYS00006598",
                            "links": {
                                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/studies/MGYS00006598?format=api"
                            }
                        }
                    ]
                },
                "runs": {
                    "links": {
                        "related": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS14884933/runs?format=api"
                    }
                }
            },
            "links": {
                "self": "https://www.ebi.ac.uk/metagenomics/api/v1/samples/ERS14884933?format=api"
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}