Skip to main content

Getting Started with Pulsery API

This guide will help you quickly get started with integrating the Pulsery API into your application.

API Basics

All Pulsery API endpoints are accessible at the following base URL:
https://api.pulsery.live
Make sure to use HTTPS for all API requests to ensure secure communication.
All API responses are returned in JSON format. Successful responses include the requested data, while error responses include an error field with a description of what went wrong.Example error response:
{
  "error": "Resource not found",
  "message": "The requested resource could not be found"
}

Making Your First API Request

You can use cURL to make API requests from the command line. Here’s an example of how to get all exploits:
curl -X GET "https://api.pulsery.live/api/exploits" -H "Content-Type: application/json"
To get a specific exploit by name:
curl -X GET "https://api.pulsery.live/api/exploits?exploit=ExploitName" -H "Content-Type: application/json"
Here’s how to make API requests using JavaScript with the Fetch API:
// Get all exploits
fetch('https://api.pulsery.live/api/exploits')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));

// Get a specific exploit by name
fetch('https://api.pulsery.live/api/exploits?exploit=ExploitName')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));
Here’s how to make API requests using Python with the requests library:
import requests

# Get all exploits
response = requests.get('https://api.pulsery.live/api/exploits')
data = response.json()
print(data)

# Get a specific exploit by name
params = {'exploit': 'ExploitName'}
response = requests.get('https://api.pulsery.live/api/exploits', params=params)
data = response.json()
print(data)

Common Use Cases

Here are some common use cases for the Pulsery API: