> For the complete documentation index, see [llms.txt](https://apidoc.solidityscan.com/solidityscan-security-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidoc.solidityscan.com/solidityscan-security-api/getting-started/apis/platform-info.md).

# Platform Info

## Get Platform Info

<mark style="color:green;">`GET`</mark> api.solidityscan.com/api-get-platform-chain-ids/

This endpoint allows users to retrieve all supported platform and chain information in a well-formatted JSON format.

**Headers**

| Name            | Value                        |
| --------------- | ---------------------------- |
| accept          | `application/json`           |
| accept-language | `en-GB,en-US;q=0.9,en;q=0.8` |

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "data": {
        "xdc": {
            "id": "12",
            "chains": [
                {
                    "mainnet": "1"
                },
                {
                    "testnet": "2"
                }
            ]
        },
        "celo": {
            "id": "7",
            "chains": [
                {
                    "mainnet": "1"
                },
                {
                    "testnet": "2"
                }
            ]
        },
        "fuse": {
            "id": "15",
            "chains": [
                {
                    "mainnet": "1"
                },
                {
                    "testnet": "2"
                }
            ]
        },
...
```

{% endtab %}
{% endtabs %}

{% file src="/files/WqBWFD83IEIIjDNhsZAx" %}

**Example**

{% tabs %}
{% tab title="Curl" %}

```url
curl --location 'https://api.solidityscan.com/api-get-platform-chain-ids/' \
--header 'accept: application/json' \
--header 'accept-language: en-GB,en-US;q=0.9,en;q=0.8'
```

{% endtab %}
{% endtabs %}
