To access the Osintly API, you need to authenticate your requests using an API key. This ensures secure and controlled access to our OSINT services.

Getting Your API Key

  1. Sign up or log in to your Osintly account.
  2. Navigate to the API Keys section in your dashboard.
  3. Click on Generate API Key.
  4. Store your key securely—do not share it publicly.

Using Your API Key

Your API key must be included in the Authorization header of every request.

Example Request

curl -X GET "https://api.osintly.com/v1/search" \
     -H "Authorization: Bearer YOUR_API_KEY"

Example in JavaScript

const axios = require('axios');

async function fetchData() {
    const response = await axios.get('https://api.osintly.com/v1/search', {
        headers: {
            'Authorization': `Bearer YOUR_API_KEY`
        }
    });
    console.log(response.data);
}

Security Best Practices

Next Steps

Now that you’re authenticated, check out the Quickstart to make your first API call!