---
title: "Get Script"
method: GET
path: "/scripts/{script_name}"
tags: ["Scripts"]
---

# Get Script

`GET /scripts/{script_name}`

Get the Python source code of a specific script.

Retrieves the full source code content of a script file from the scripts directory.
Scripts are V1 strategy implementations that contain both trading logic and can be
run directly by Hummingbot.

Use this endpoint to inspect script implementations, review strategy logic,
or retrieve code for modification before re-uploading.

## Path parameters

- `script_name` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

- **2025-12-20** `1005bcd47280` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hummingbot/apis/hummingbot-api/changes/scripts/:script_name/get.md)

---

[API](https://skmtc.dev/hummingbot/apis/hummingbot-api.md) · [All operations](https://skmtc.dev/hummingbot/apis/hummingbot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hummingbot/hummingbot-api/revisions/576ec8539f76/schema)
