API Documentation

Integrate breach intelligence into your applications with our RESTful API

🚀 Quick Start

Get started with the Juncture Incidents API in minutes.

1

Get API Key

Sign up for an account and generate your API key from the dashboard.

2

Make Request

Include your API key in the Authorization header with every request.

3

Parse Response

Receive JSON responses with breach data, ready to integrate.

🔐 Authentication

All API requests require authentication using an API key in the Authorization header.

curl -X GET "https://juncturelogic.com/incidents/api/search?q=healthcare" \
  -H "Authorization: Bearer YOUR_API_KEY_HERE"

⚠️ Security: Never expose your API key in client-side code or public repositories. Keep it secure and rotate regularly.

🌐 Base URL

https://juncturelogic.com/incidents/api

📡 Endpoints

GET

/api/search

Search and filter security breaches with advanced query parameters.

Query Parameters

Parameter Type Description
q string Search query (company name, keywords)
state string Two-letter state code (e.g., CA, TX)
severity string Critical, High, Medium, or Low
from_date date Start date (YYYY-MM-DD)
to_date date End date (YYYY-MM-DD)
limit integer Results per page (max 100, default 50)
offset integer Pagination offset

Example Request

curl -X GET "https://juncturelogic.com/incidents/api/search?q=healthcare&state=CA&severity=Critical&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"

Example Response

{
  "total": 284,
  "count": 10,
  "offset": 0,
  "results": [
    {
      "id": 12345,
      "name_of_covered_entity": "UCLA Health System",
      "state": "CA",
      "individuals_affected": 4500000,
      "breach_submission_date": "2015-07-17",
      "type_of_breach": "Hacking/IT Incident",
      "location_of_breached_information": "Network Server",
      "severity_score": 95,
      "severity_level": "Critical",
      "attack_vector": "External Hacking",
      "affected_data_types": ["SSN", "Medical Records", "Financial Information"],
      "narrative": "Major cyberattack compromising 4.5M patient records including SSN and financial data..."
    }
  ]
}
GET

/api/stats

Get aggregate statistics about breaches in the database.

Example Request

curl -X GET "https://juncturelogic.com/incidents/api/stats" \
  -H "Authorization: Bearer YOUR_API_KEY"

Example Response

{
  "total_breaches": 1803,
  "total_individuals_affected": 222627456,
  "average_breach_size": 123456,
  "severity_distribution": {
    "Critical": 542,
    "High": 631,
    "Medium": 458,
    "Low": 172
  },
  "states_covered": 50,
  "date_range": {
    "earliest": "2009-09-25",
    "latest": "2024-11-15"
  }
}
GET

/api/breaches/{id}

Retrieve detailed information about a specific breach.

Example Request

curl -X GET "https://juncturelogic.com/incidents/api/breaches/12345" \
  -H "Authorization: Bearer YOUR_API_KEY"
GET

/api/companies/{name}/risk

Get comprehensive risk profile for a company based on breach history.

Example Request

curl -X GET "https://juncturelogic.com/incidents/api/companies/Anthem/risk" \
  -H "Authorization: Bearer YOUR_API_KEY"

Example Response

{
  "company_name": "Anthem Inc.",
  "total_breaches": 3,
  "total_individuals_affected": 79500000,
  "risk_score": 98,
  "risk_level": "Critical",
  "breach_frequency": "Low",
  "average_severity": 94,
  "most_common_vector": "External Hacking",
  "recent_breaches": [
    {
      "date": "2015-02-04",
      "affected": 78800000,
      "severity": "Critical"
    }
  ]
}

⏱️ Rate Limits

Free Tier
50
requests / day
Professional
10,000
requests / day
Enterprise
Unlimited
Custom SLA

❌ Error Codes

Code Meaning Description
200 OK Request successful
400 Bad Request Invalid parameters or malformed request
401 Unauthorized Missing or invalid API key
403 Forbidden API key lacks required permissions
404 Not Found Resource does not exist
429 Too Many Requests Rate limit exceeded
500 Internal Server Error Server error, contact support

📦 SDKs & Libraries

Official client libraries to integrate quickly:

Python

pip install juncture-incidents
View Docs →

Node.js

npm install juncture-incidents
View Docs →

PHP

composer require juncture/incidents
View Docs →

Need Help?

Our support team is here to assist with integration and questions.