Skip to content

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/pastebinThe raw text of a public Pastebin paste.
GET/pastes/pastefyA public Pastefy paste: its content, title and author.
GET/pastes/rentryThe rendered text of a public Rentry paste, with its title.
GET/pastes/pasteDropA public Paste-Drop paste: its title and content.
GET/pastes/tempelInA public tempel.in paste: its title, author, views and content.
GET/pastes/scriptPastebinsA public ScriptPastebins post: its title and script text.

pastebin

GET/v1/pastes/pastebin

The raw text of a public Pastebin paste.

scope social:read1 unitcached 10 min

Parameters

url
string
required
Pastebin paste URL or id, such as 1PWxczzC.
e.g. 1PWxczzC
tunnel
string
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.
proxy
string
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.
profileId
string
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
contentstring
idstring
linesinteger (int64)
sizeinteger (int64)
urlstring
curl "https://api.hoshime.com/v1/pastes/pastebin?url=1PWxczzC" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/pastefy

A public Pastefy paste: its content, title and author.

scope social:read1 unitcached 10 min

Parameters

url
string
required
Pastefy paste URL or id.
e.g. 35OpZwqx
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorstring
contentstring
createdAtstring
idstring
titlestring
typestring
urlstring
curl "https://api.hoshime.com/v1/pastes/pastefy?url=35OpZwqx" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/rentry

The rendered text of a public Rentry paste, with its title.

scope social:read1 unitcached 30 min

Parameters

url
string
required
Rentry page URL or id, such as what.
e.g. what
tunnel
string
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.
proxy
string
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.
profileId
string
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
idstring
textstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/pastes/rentry?url=what" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/pasteDrop

A public Paste-Drop paste: its title and content.

scope social:read1 unitcached 10 min

Parameters

url
string
required
Paste-Drop URL or slug, such as AdoptMeScript2024.
e.g. AdoptMeScript2024
tunnel
string
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.
proxy
string
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.
profileId
string
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
contentstring
idstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/pastes/pasteDrop?url=AdoptMeScript2024" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/tempelIn

A public tempel.in paste: its title, author, views and content.

scope social:read1 unitcached 10 min

Parameters

url
string
required
tempel.in paste URL or slug, such as TVJ35jiR.
e.g. TVJ35jiR
tunnel
string
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.
proxy
string
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.
profileId
string
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
authorstring
contentstring
idstring
titlestring
urlstring
viewsinteger (int64)
curl "https://api.hoshime.com/v1/pastes/tempelIn?url=TVJ35jiR" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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/scriptPastebins

A public ScriptPastebins post: its title and script text.

scope social:read1 unitcached 10 min

Parameters

url
string
required
ScriptPastebins post URL or slug, such as dum-hub-blox-fruits.
e.g. dum-hub-blox-fruits
tunnel
string
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.
proxy
string
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.
profileId
string
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
idstring
scriptstring
titlestring
urlstring
curl "https://api.hoshime.com/v1/pastes/scriptPastebins?url=dum-hub-blox-fruits" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "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
  }
}
esc
↑↓ move↵ open