Learn how to integrate signature detection into your applications
All API requests require authentication using an API key. Include your API key in the request header:
x-api-key: your_api_key_here
You can generate API keys from your dashboard.
/api/detectDetect signatures in an image. Costs 1 credit per request.
{
"imageUrl": "https://example.com/document.jpg",
"confidenceThreshold": 0.1
}imageUrl (required): URL of the image to analyzeconfidenceThreshold (optional): Detection threshold (0.01-1.0, default: 0.1){
"success": true,
"result": {
"detections": [
{
"bbox": {
"x1": 321.23,
"y1": 373.39,
"x2": 647.21,
"y2": 501.68
},
"confidence": 0.192,
"class": 0,
"class_name": "signature"
}
],
"count": 1,
"confidenceThreshold": 0.1
},
"creditsRemaining": 9999,
"detectionId": "clxxxx..."
}Invalid or missing API key
Insufficient credits. Purchase more credits to continue.
Invalid request parameters
Server error. Please try again later.
const response = await fetch('https://signature-detector.com/api/detect', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'your_api_key_here'
},
body: JSON.stringify({
imageUrl: 'https://example.com/document.jpg',
confidenceThreshold: 0.1
})
});
const data = await response.json();
console.log('Signatures found:', data.result.count);import requests
response = requests.post(
'https://signature-detector.com/api/detect',
headers={
'Content-Type': 'application/json',
'x-api-key': 'your_api_key_here'
},
json={
'imageUrl': 'https://example.com/document.jpg',
'confidenceThreshold': 0.1
}
)
data = response.json()
print(f"Signatures found: {data['result']['count']}")curl -X POST https://signature-detector.com/api/detect \
-H "Content-Type: application/json" \
-H "x-api-key: your_api_key_here" \
-d '{
"imageUrl": "https://example.com/document.jpg",
"confidenceThreshold": 0.1
}'Cost per Detection
1 credit per API request
Pricing
$10 = 100,000 credits (100,000 detections)
Minimum purchase: $1 (10,000 credits)
Rate Limits
No rate limits - only limited by your available credits
Need help? Here are some resources: