The Onboarding Buddy User Agent Validation API empowers developers to validate browser user agents, identifying device types, browsers, and potential fraud indicators. Perfect for secure onboarding, authentication, and compliance workflows, this API supports real-time and batch validation to enhance security and user trust.
Sign Up for User Agent Validation APIValidate browser user agents to detect suspicious activity, ensure device compatibility, and strengthen security in your applications. The Onboarding Buddy API analyzes user agent strings to provide insights into browsers, operating systems, and devices, making it ideal for fraud prevention, compliance, and personalized user experiences.
Endpoint | Method | Purpose |
---|---|---|
POST /validation-service/validation/user-agent |
POST | Validates a single browser user agent and returns the validation response. |
POST /validation-service/batch/user-agent |
POST | Validates a batch of browser user agents and returns a batch validation response. |
GET /validation-service/batch/poll/{batchId} |
GET | Polls the status of a submitted batch validation request using the batch ID. |
GET /validation-service/batch/user-agent/{batchId} |
GET | Retrieves the validation results for a batch of browser user agents using the batch ID. |
Use the POST /validation-service/validation/user-agent
endpoint to validate a single user agent string. Include your API credentials in the headers for secure access.
curl -X POST https://api.onboardingbuddy.co/validation-service/validation/user-agent \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret" \
-H "Content-Type: application/json" \
-d '{"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"}'
Example Response:
{
"isValid": true,
"details": {
"browser": "Chrome",
"browserVersion": "91.0.4472.124",
"os": "Windows",
"osVersion": "10.0",
"deviceType": "desktop",
"isSuspicious": false
}
}
Use the POST /validation-service/batch/user-agent
endpoint to validate multiple user agent strings efficiently.
curl -X POST https://api.onboardingbuddy.co/validation-service/batch/user-agent \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret" \
-H "Content-Type: application/json" \
-d '{"userAgents": ["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36", "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)", "invalid-user-agent"]}'
Example Response:
{
"batchId": "batch-45678",
"status": "processing"
}
Check the status of a batch validation request using the GET /validation-service/batch/poll/{batchId}
endpoint.
curl -X GET https://api.onboardingbuddy.co/validation-service/batch/poll/batch-45678 \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret"
Example Response:
{
"batchId": "batch-45678",
"status": "completed"
}
Retrieve the results of a completed batch validation using the GET /validation-service/batch/user-agent/{batchId}
endpoint.
curl -X GET https://api.onboardingbuddy.co/validation-service/batch/user-agent/batch-45678 \
-H "ob-app-key: your-app-key" \
-H "ob-api-key: your-api-key" \
-H "ob-api-secret: your-api-secret"
Example Response:
{
"batchId": "batch-45678",
"results": [
{
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",
"isValid": true,
"details": {
"browser": "Chrome",
"browserVersion": "91.0.4472.124",
"os": "Windows",
"osVersion": "10.0",
"deviceType": "desktop",
"isSuspicious": false
}
},
{
"userAgent": "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",
"isValid": true,
"details": {
"browser": "Googlebot",
"browserVersion": "2.1",
"os": "unknown",
"deviceType": "bot",
"isSuspicious": true
}
},
{
"userAgent": "invalid-user-agent",
"isValid": false,
"details": {
"error": "Invalid user agent format"
}
}
]
}
The Onboarding Buddy User Agent Validation API is ideal for:
Get started with the Onboarding Buddy User Agent Validation API today. Sign up to obtain your API credentials, explore the full API documentation, or discover other use cases like email validation or sanctions screening. For technical details, view all API endpoints.
Start Validating User Agents Now