# PasteLua — Zapi reference > Fetch a public PasteLua paste content by URL or id. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/bypass-tools/pastelua - Endpoint catalog: https://zpi.web.id/category/bypass-tools - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## PasteLua **Category:** bypass-tools · **Slug:** `pastelua` **Detail page:** https://zpi.web.id/api/bypass-tools/pastelua Fetch a public PasteLua paste content by URL or id. **Tags:** paste, lua, script ### Get Paste Fetch a public PasteLua paste content by URL or id. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/bypass-tools:pastelua/get` - **Cache TTL:** 600s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `url` | string | query | yes | Paste link or id to unlock (full share URL, locker URL, or bare id). | **cURL:** ```bash curl "https://api.zpi.web.id/v1/bypass-tools:pastelua/get?url=https%3A%2F%2Fpastelua.com%2Fk8mp5aw1" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/bypass-tools:pastelua/get?url=https%3A%2F%2Fpastelua.com%2Fk8mp5aw1", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/bypass-tools:pastelua/get?url=https%3A%2F%2Fpastelua.com%2Fk8mp5aw1", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "id": "k8mp5aw1", "slug": "-broken-blade-script-auto-farm-auto-attack-auto-raid-auto-eclipse-the-best-k8mp5aw1", "tags": [], "title": "⚔️ Broken Blade Script — AUTO FARM, AUTO ATTACK, AUTO RAID, AUTO ECLIPSE (THE BEST)", "views": 5264, "locked": true, "content": "loadstring(game:HttpGet(\"https://raw.githubusercontent.com/ApelsinkaFr/ApelHub/refs/heads/main/ApelHub\"))()", "inputUrl": "https://pastelua.com/k8mp5aw1", "createdAt": "2026-05-30T11:44:41.52142+00:00", "scrapedAt": "2026-06-20T02:12:45.038Z", "updatedAt": "2026-05-30T11:44:41.52142+00:00", "loadstring": "loadstring(game:HttpGet(\"https://raw.githubusercontent.com/ApelsinkaFr/ApelHub/refs/heads/main/ApelHub\"))()", "visibility": "public", "description": "", "contentLength": 107 } ``` --- _Generated: 2026-08-02T14:31:00.303Z_