---
updatedAt: 2025-05-19T20:30:50.000Z
agentTools:
  projectIndex: https://developers.pocketsmith.com/llms.txt
---

# Get currency

Gets a particular currency by its ID.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "PocketSmith",
    "description": "The PocketSmith API",
    "contact": {
      "name": "API Support",
      "email": "api@pocketsmith.com"
    },
    "version": "2.0"
  },
  "x-samples-languages": [
    "curl",
    "node",
    "javascript",
    "php",
    "python"
  ],
  "servers": [
    {
      "url": "https://api.pocketsmith.com/v2",
      "description": "Production"
    }
  ],
  "components": {
    "securitySchemes": {
      "developerKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Developer-Key",
        "description": "If you want to build a tool just for yourself, be it a desktop widget to display your balances or a tool to import transactions from a bank without a bank feed, you can use our developer keys feature. You can issue yourself a key which will give you persistent API access to just your account. You should rotate your keys regularly."
      }
    },
    "responses": {
      "404": {
        "description": "Not Found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "Currency": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ISO 4217 or unofficial currency code.",
            "example": "nzd"
          },
          "name": {
            "type": "string",
            "description": "The name of the currency.",
            "example": "New Zealand Dollar"
          },
          "minor_unit": {
            "type": "integer",
            "description": "The number of digits after the minor unit separator.",
            "example": 2
          },
          "separators": {
            "$ref": "#/components/schemas/CurrencySeparators"
          },
          "symbol": {
            "type": "string",
            "description": "The symbol of the currency.",
            "example": "$"
          }
        }
      },
      "CurrencySeparators": {
        "type": "object",
        "properties": {
          "major": {
            "type": "string",
            "description": "The separator used in the major unit.",
            "example": ","
          },
          "minor": {
            "type": "string",
            "description": "The seperator used for the minor unit.",
            "example": "."
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "A message describing the error that occurred.",
            "example": "A message describing the error that occurred."
          }
        }
      }
    }
  },
  "paths": {
    "/currencies/{id}": {
      "get": {
        "summary": "Get currency",
        "description": "Gets a particular currency by its ID.",
        "tags": [
          "Currencies"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The unique identifier of the currency.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "nzd"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Currency"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/404"
          }
        }
      }
    }
  },
  "security": [
    {
      "developerKey": []
    }
  ]
}
```