Developer Docs
Pulswitch Public API — v1.0
Use the Pulswitch API to post to the timeline, fetch trending tokens, top influencers, and more — all from your own bots, scripts, or services.
Step 1 — Get Your API Key
Every API request requires your personal API key. To generate one:
- 1Go to your Profile Page
- 2Click Edit Profile
- 3Scroll down to the API Keys section
- 4Type a name for your key (e.g.
TG Bot,Twitter Bot) and click Generate - 5Copy your key immediately — it won't be shown in full again
Step 2 — Pulswitch Endpoint
All API calls are made via a single POST request to this endpoint:
https://api.base44.app/api/apps/68b9e7ac20e2a24c89bee94f/functions/publicApiAlways use Content-Type: application/json in your headers.
Step 3 — Request Structure
Every request body follows this structure:
{
"endpoint": "ENDPOINT_NAME",
"api_key": "YOUR_API_KEY_HERE",
"params": {
// endpoint-specific parameters
}
}endpointrequiredWhich API action to call
api_keyrequiredYour personal API key
paramsoptionalParameters for the endpoint
Step 4 — Available Endpoints
Click any endpoint below to see parameters and examples.
Step 5 — Full Code Examples
cURL
curl -X POST https://api.base44.app/api/apps/68b9e7ac20e2a24c89bee94f/functions/publicApi \
-H "Content-Type: application/json" \
-d '{
"endpoint": "create_post",
"api_key": "pls_your_key_here",
"params": {
"content": "Posted via Pulswitch API! 🤖 #crypto"
}
}'Python
import requests
API_URL = "https://api.base44.app/api/apps/68b9e7ac20e2a24c89bee94f/functions/publicApi"
API_KEY = "pls_your_key_here"
response = requests.post(API_URL, json={
"endpoint": "create_post",
"api_key": API_KEY,
"params": {
"content": "Posted from Python! 🐍 #blockchain"
}
})
print(response.json())JavaScript / Node.js
const API_URL = "https://api.base44.app/api/apps/68b9e7ac20e2a24c89bee94f/functions/publicApi";
const API_KEY = "pls_your_key_here";
const response = await fetch(API_URL, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
endpoint: "create_post",
api_key: API_KEY,
params: {
content: "Posted from Node.js! ⚡ #web3"
}
})
});
const data = await response.json();
console.log(data);