---
title: "program-id-to-label"
method: GET
path: "/program-id-to-label"
tags: ["Swap"]
---

# program-id-to-label

`GET /program-id-to-label`

Returns a hash, which key is the program id and value is the label.
This is used to help map error from transaction by identifying the fault program id.
This can be used in conjunction with the `excludeDexes` or `dexes` parameter.

## Response `200`

Default response

- object

## Changes

- **2025-05-05** `e81eaf0176e7` — 1 info
  - endpoint added
- **2025-05-05** `d7eeb7e24ac4` — 1 breaking
  - api path removed without deprecation
- **2025-05-05** `2638d3c16361` — 1 info
  - endpoint added
- **2025-03-23** `54e7268f9fc0` — 1 breaking
  - api path removed without deprecation
- **2025-02-19** `5904b9a202ab` — 1 info
  - api tag `Swap` added

[Full history](https://skmtc.dev/jup-ag/apis/swap-api/changes/program-id-to-label/get.md)

---

[API](https://skmtc.dev/jup-ag/apis/swap-api.md) · [All operations](https://skmtc.dev/jup-ag/apis/swap-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jup-ag/swap-api/revisions/3ffe3406c673/schema)
