具
Pastes API
6 endpointsUtilitiesGlobalsocial:read6 real examples
Returns the text content of public pastes from Pastebin, Pastefy, Rentry, Paste-Drop, tempel.in and ScriptPastebins.
View as Markdown| GET | /pastes/pastebin | The raw text of a public Pastebin paste. |
| GET | /pastes/pastefy | A public Pastefy paste: its content, title and author. |
| GET | /pastes/rentry | The rendered text of a public Rentry paste, with its title. |
| GET | /pastes/pasteDrop | A public Paste-Drop paste: its title and content. |
| GET | /pastes/tempelIn | A public tempel.in paste: its title, author, views and content. |
| GET | /pastes/scriptPastebins | A public ScriptPastebins post: its title and script text. |
pastebin
GET
/v1/pastes/pastebinThe raw text of a public Pastebin paste.
scope social:read1 unitcached 10 min
Parameters
urlstring required | Pastebin paste URL or id, such as 1PWxczzC. e.g. 1PWxczzC |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
5 fields
content | string |
id | string |
lines | integer (int64) |
size | integer (int64) |
url | string |
curl "https://api.hoshime.com/v1/pastes/pastebin?url=1PWxczzC" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/pastes/pastebin?url=1PWxczzC", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/pastes/pastebin?url=1PWxczzC", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "content": "GSA URL REDIRECT PRO V2.70 CHECK (Cholibrium HH):\r\n\r\nhttp://saleoffer.co/Cholibrium-286719\r\nhttps://beta.thryt.com/Cholibrium360819\r\nhttps:/…", "id": "1PWxczzC", "lines": 26, "size": 877, "url": "https://pastebin.com/1PWxczzC" }, "meta": { "cached": false, "endpoint": "pastebin", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "pastes", "requestId": "req_2Xb9kQ…", "units": 1 } }
pastefy
GET
/v1/pastes/pastefyA public Pastefy paste: its content, title and author.
scope social:read1 unitcached 10 min
Parameters
urlstring required | Pastefy paste URL or id. e.g. 35OpZwqx |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
7 fields
author | string |
content | string |
createdAt | string |
id | string |
title | string |
type | string |
url | string |
curl "https://api.hoshime.com/v1/pastes/pastefy?url=35OpZwqx" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/pastes/pastefy?url=35OpZwqx", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/pastes/pastefy?url=35OpZwqx", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": "Galactic", "content": "-- This file was generated by galactic dumper | V2.3\nlocal fenv = getfenv()\nlocal PathfindingService = game:GetService(\"PathfindingService\")…", "createdAt": "2026-06-19T23:58:12Z", "id": "35OpZwqx", "title": "", "type": "PASTE", "url": "https://pastefy.app/35OpZwqx" }, "meta": { "cached": false, "endpoint": "pastefy", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "pastes", "requestId": "req_2Xb9kQ…", "units": 1 } }
rentry
GET
/v1/pastes/rentryThe rendered text of a public Rentry paste, with its title.
scope social:read1 unitcached 30 min
Parameters
urlstring required | Rentry page URL or id, such as what. e.g. what |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
id | string |
text | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/pastes/rentry?url=what" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/pastes/rentry?url=what", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/pastes/rentry?url=what", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "id": "what", "text": "What\n\nRentry.co is a\n\nmarkdown paste service\n\nservice with preview, custom urls and editing. Fast, simple and free.\n\nMarkdown is a lightweig…", "title": "What", "url": "https://rentry.co/what" }, "meta": { "cached": false, "endpoint": "rentry", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "pastes", "requestId": "req_2Xb9kQ…", "units": 1 } }
pasteDrop
GET
/v1/pastes/pasteDropA public Paste-Drop paste: its title and content.
scope social:read1 unitcached 10 min
Parameters
urlstring required | Paste-Drop URL or slug, such as AdoptMeScript2024. e.g. AdoptMeScript2024 |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
content | string |
id | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/pastes/pasteDrop?url=AdoptMeScript2024" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/pastes/pasteDrop?url=AdoptMeScript2024", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/pastes/pasteDrop?url=AdoptMeScript2024", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "content": "--discord.gg/ShKtjJWvr2\n\nloadstring(game:HttpGet(\"https://raw.githubusercontent.com/XScriptsOfficial/AdoptMe/main/Scripts\"))()", "id": "AdoptMeScript2024", "title": "Adopt Me Script 2024", "url": "https://paste-drop.com/AdoptMeScript2024" }, "meta": { "cached": false, "endpoint": "pasteDrop", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "pastes", "requestId": "req_2Xb9kQ…", "units": 1 } }
tempelIn
GET
/v1/pastes/tempelInA public tempel.in paste: its title, author, views and content.
scope social:read1 unitcached 10 min
Parameters
urlstring required | tempel.in paste URL or slug, such as TVJ35jiR. e.g. TVJ35jiR |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
6 fields
author | string |
content | string |
id | string |
title | string |
url | string |
views | integer (int64) |
curl "https://api.hoshime.com/v1/pastes/tempelIn?url=TVJ35jiR" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/pastes/tempelIn?url=TVJ35jiR", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/pastes/tempelIn?url=TVJ35jiR", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "author": "Anonymous", "content": "hsajhsja jkahkdja testt nih claudeee codeee", "id": "TVJ35jiR", "title": "Anjayy testtt", "url": "https://tempel.in/view/TVJ35jiR", "views": 152 }, "meta": { "cached": false, "endpoint": "tempelIn", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "pastes", "requestId": "req_2Xb9kQ…", "units": 1 } }
scriptPastebins
GET
/v1/pastes/scriptPastebinsA public ScriptPastebins post: its title and script text.
scope social:read1 unitcached 10 min
Parameters
urlstring required | ScriptPastebins post URL or slug, such as dum-hub-blox-fruits. e.g. dum-hub-blox-fruits |
tunnelstring | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
proxystring | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
profileIdstring | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |
Response data
4 fields
id | string |
script | string |
title | string |
url | string |
curl "https://api.hoshime.com/v1/pastes/scriptPastebins?url=dum-hub-blox-fruits" \ -H "Authorization: Bearer $HOSHIME_TOKEN"
const res = await fetch("https://api.hoshime.com/v1/pastes/scriptPastebins?url=dum-hub-blox-fruits", { headers: { Authorization: `Bearer ${process.env.HOSHIME_TOKEN}`, }, }); const { data, meta } = await res.json();
import os, requests res = requests.get( "https://api.hoshime.com/v1/pastes/scriptPastebins?url=dum-hub-blox-fruits", headers={"Authorization": f"Bearer {os.environ['HOSHIME_TOKEN']}"}, ) body = res.json()
{ "data": { "id": "dum-hub-blox-fruits", "script": "loadstring(game:HttpGet(\"https://raw.githubusercontent.com/DumHubdz/DumHubdzVN/refs/heads/main/DumHubdzVN.lua\"))()", "title": "Dum Hub – Blox Fruits", "url": "https://scriptpastebins.com/dum-hub-blox-fruits/" }, "meta": { "cached": false, "endpoint": "scriptPastebins", "fetchedAt": "2026-11-06T09:41:00Z", "platform": "pastes", "requestId": "req_2Xb9kQ…", "units": 1 } }