Code examples for integrating AXIMUR Claim Verification API.
Start API Access — $49/moDirect Checkout: https://buy.stripe.com/eVq3cxd9m0Ws5X70IwfIs04
curl -X POST https://api.aximur.com/v1/verify \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"claim": "The global average temperature in 2023 was 1.45°C above pre-industrial levels.",
"grounding_source": "According to the WMO State of the Global Climate 2023 report, the global average temperature in 2023 was 1.45°C above the pre-industrial baseline (1850–1900)."
}'
import requests
response = requests.post(
"https://api.aximur.com/v1/verify",
headers={
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json"
},
json={
"claim": "The global average temperature in 2023 was 1.45°C above pre-industrial levels.",
"grounding_source": "According to the WMO State of the Global Climate 2023 report, the global average temperature in 2023 was 1.45°C above the pre-industrial baseline (1850–1900)."
}
)
result = response.json()
print(f"Verdict: {result['verdict']}")
print(f"Confidence: {result['confidence']}")
const axios = require('axios');
const response = await axios.post('https://api.aximur.com/v1/verify', {
claim: 'The global average temperature in 2023 was 1.45°C above pre-industrial levels.',
grounding_source: 'According to the WMO State of the Global Climate 2023 report, the global average temperature in 2023 was 1.45°C above the pre-industrial baseline (1850–1900).'
}, {
headers: {
'Authorization': `Bearer ${API_KEY}`,
'Content-Type': 'application/json'
}
});
console.log(`Verdict: ${response.data.verdict}`);
console.log(`Confidence: ${response.data.confidence}`);
Start API Access — $49/mo