> For the complete documentation index, see [llms.txt](/llms.txt).

# `version`

## `/api/v0/pin/version`[​](#apiv0pinversion "Direct link to apiv0pinversion")

Show IPFS version information.

### Request[​](#request "Direct link to Request")

- Syntax
- Example

```
curl "https://ipfs.infura.io:5001/api/v0/version?number=<value>&commit=<value>&repo=<value>&all=<value>" \
  -X POST \
  -u "<YOUR-API-KEY>:<YOUR-API-KEY-SECRET>"

```

```
curl "https://ipfs.infura.io:5001/api/v0/version" \
  -X POST \
  -u "<YOUR-API-KEY>:<YOUR-API-KEY-SECRET>"

```

#### Request parameters[​](#request-parameters "Direct link to Request parameters")

- `number` _[Optional]_ - Only show the version number.
- `commit` _[Optional]_ - Show the commit hash.
- `repo` _[Optional]_ - Show repo version.
- `all` _[Optional]_ - Show all version information.

### Response[​](#response "Direct link to Response")

On success, the call to this endpoint returns with 200 and the following body:

#### Body[​](#body "Direct link to Body")

```
{
  "Commit": "string",
  "Golang": "string",
  "Repo": "string",
  "System": "string",
  "Version": "string"
}

```
