Insurance Claim Photo Analysis API
Turn claim photos into structured JSON in one API call: object and scene labels, plate and VIN text, and moderation flags for graphic images — inputs for claims triage and automation.
Published 2026-05-21 · Updated 2026-10-26

TL;DR. To analyse insurance claim photos with an API, POST each image to Pixicular's image analysis API and request detect-labels, detect-text, and detect-moderation in a single call. You get one JSON document with object and scene labels, the lines of visible text such as a plate or VIN, and moderation flags. Your claims rules turn those signals into triage decisions.
What does the insurance claim photo analysis API do?
Claim photos arrive in volume, in mixed quality, and from channels the insurer does not control: policyholder phones, repair-shop tablets, broker emails. Opening every image by hand does not scale. Pixicular turns each photo into a structured record in one round trip, so the rest of your system can treat it as data instead of pixels.
Each request runs the services you ask for on one uploaded image and returns their results together. The same contract applies to first-notice-of-loss (FNOL) photos from the policyholder, follow-up evidence from a repair shop, and archived claim photos you re-process later. What comes back are signals: the API describes the photo, reads its text, and flags unsafe content. It does not assess damage severity, estimate repair cost, or decide a claim.

How does label detection help with damage triage?
The detect-labels service returns the objects, scenes, and concepts it recognises, each with a name, a confidence percentage, and the categories it belongs to. On a vehicle photo that typically includes the vehicle itself and often visible parts or the setting; on a property photo, rooms, building elements, and objects. The taxonomy is general-purpose, not a damage-assessment model: there are no bounding boxes or severity scores, and whether a damage-related label appears at all depends on the taxonomy and the photo. Test on your own claim photos before you rely on any specific label.
That is still useful for triage. Labels tell you whether a photo shows what the claim says (a vehicle on a motor claim, a room on a home claim), let you route a claim to the right team by claim type, and check that a photo set is complete, for example that at least one image shows the vehicle. A motor claim whose photos carry no vehicle label is a good reason for a human look. For the service on its own, see the object and label detection API page.
How does OCR pull VIN, plate, and policy numbers from photos?
The detect-text service reads the text in the whole image and returns each line in a detections list, with the text and a confidence percentage. On a vehicle claim that can be the licence plate, the VIN on the dashboard or the door-jamb label, and a claim or policy number on a paper form held in shot. On a property claim it covers receipt and invoice lines and serial-number plates; on an injury claim, printed prescription labels and receipts.
The response has no vin or licencePlate keys: your code finds them in the lines. A VIN is 17 characters from a restricted alphabet (no I, O, or Q), so a regular expression finds candidates, and on North American VINs position 9 is a check digit you can validate. Plates vary by country, so compare the normalised line with the plate on the policy rather than parsing a format. The OCR API guide covers the service in more depth.
What can moderation flag in claim photos?
The detect-moderation service returns detected (true when any label is found) and a list of moderation labels, each with a name, its parentName in the hierarchy, and a confidence percentage. Its taxonomy covers categories such as explicit nudity, violence, and graphic or disturbing imagery. For claims, that makes it a viewer-protection tool: flag graphic injury or accident images so your adjuster UI blurs them until a reviewer chooses to open them, and keep explicit or irrelevant uploads out of the normal queue.
Moderation does not detect staged scenes, edited photos, or digital manipulation, and Pixicular's AI-generated image detection service is currently disabled while accuracy is being improved. Do not treat a clean moderation result as evidence that a photo is genuine.
What does the JSON response look like?
The response has a key per requested service under services. For a single front-bumper photo with detect-labels, detect-text, and detect-moderation in the same call, you get the labels, the plate text, and an empty moderation result:
{
"success": true,
"requestId": "req_c7NpR2xWq9LfT4hZbE",
"services": {
"detect-labels": {
"labels": [
{ "name": "Car", "confidence": 99.4, "categories": ["Vehicles and Automotive"] },
{ "name": "Bumper", "confidence": 96.1, "categories": ["Vehicles and Automotive"] },
{ "name": "Headlight", "confidence": 91.7, "categories": ["Vehicles and Automotive"] },
{ "name": "Tire", "confidence": 88.3, "categories": ["Vehicles and Automotive"] }
]
},
"detect-text": {
"detections": [
{ "detectedText": "AB12 CDE", "type": "LINE", "confidence": 98.2 }
]
},
"detect-moderation": {
"detected": false,
"labels": []
}
},
"photo": { "id": "photo_Hm4sWc9QeT1vNb6XaK", "status": "COMPLETED" },
"creditCost": 3,
"processingTimeMs": 1850,
"processedAt": "2026-10-26T09:30:00.000Z"
}Illustrative output. Confidence values are percentages, and creditCost is 3 because each service on each image is one operation. The full schema and error codes are in the API documentation.
Code: calling the API with a claim photo
Authenticate with a bearer token in the Authorization header and upload the photo as multipart/form-data with a file part. The API accepts JPEG, PNG, WebP, AVIF, and TIFF images up to 10 MB and between 100×100 and 4096×4096 pixels. Pass the services you want as a comma-separated list: the photo is uploaded once, and each service is billed as one operation.
curl
curl -X POST https://api.pixicular.com/v1/detect \
-H "Authorization: Bearer $PIXICULAR_API_KEY" \
-F "file=@./claim-photo-front-bumper.jpg" \
-F "services=detect-labels,detect-text,detect-moderation"TypeScript — turn a claim photo into triage signals
interface Label {
name: string;
confidence: number;
categories: string[];
}
interface TextDetection {
detectedText: string;
type: "LINE" | "WORD";
confidence: number;
}
interface ModerationLabel {
name: string;
parentName: string;
confidence: number;
}
// VINs are 17 characters and never use the letters I, O or Q.
const VIN = /^[A-HJ-NPR-Z0-9]{17}$/;
const normalise = (s: string) => s.replace(/[\s-]/g, "").toUpperCase();
// Turn one claim photo into signals for your own triage rules.
async function analyseClaimPhoto(file: Blob, policyPlate: string) {
const body = new FormData();
body.append("file", file);
body.append("services", "detect-labels,detect-text,detect-moderation");
const res = await fetch("https://api.pixicular.com/v1/detect", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PIXICULAR_API_KEY}` },
body,
});
// 202 means the request was queued under load: poll its statusUrl (see the docs).
if (res.status === 202) return { route: "retry_later" };
if (!res.ok) throw new Error(`Pixicular returned ${res.status}`);
const { services } = await res.json();
const labels: Label[] = services["detect-labels"]?.labels ?? [];
const lines: TextDetection[] = services["detect-text"]?.detections ?? [];
const flags: ModerationLabel[] = services["detect-moderation"]?.labels ?? [];
const showsVehicle = labels.some(
(l) => ["Car", "Vehicle"].includes(l.name) && l.confidence >= 80,
);
const plateMatches = lines.some(
(l) => normalise(l.detectedText) === normalise(policyPlate),
);
const vin = lines
.flatMap((l) => l.detectedText.toUpperCase().split(/\s+/))
.find((token) => VIN.test(token));
return {
route: showsVehicle && plateMatches ? "standard_queue" : "adjuster_review",
blurForReviewer: flags.length > 0,
vin: vin ?? null,
};
}The thresholds and routes are illustrative; your claims policy owns them. Drop the call into your FNOL webhook or a batch re-processing job; for large batches the API can answer 202 straight away so you poll each request instead of holding connections open (see the documentation). See the pricing page for plans and included operations.
Which claim types is the API designed for?
The same endpoint handles the three most common kinds of claim evidence. The services overlap usefully: a vehicle photo with a paper claim form in shot benefits from labels (is this a vehicle?), OCR (the plate and the claim number), and moderation (is anything graphic?) in one round trip.
| Claim type | What labels can tell you | OCR targets | Moderation role |
|---|---|---|---|
| Vehicle damage | Whether the photo shows a vehicle, plus visible parts and setting (for example Car, Wheel, Headlight) | Licence plate, VIN on the dashboard or door-jamb label, claim number on a form in shot | Flag graphic accident imagery before a reviewer opens it |
| Property damage | Rooms, building elements, and objects (for example Roof, Window, Furniture) | Invoice and receipt lines, appliance serial plates, address signage | Keep explicit or graphic uploads out of the normal queue |
| Personal injury | Scene and object context only; labels are not a medical assessment | Prescription labels, receipt totals, printed letters | Blur graphic injury images by default; respect viewer-protection policies |
Where does photo analysis fit in a fraud-detection stack?
Photo analysis is one input to a fraud score, not the verdict. The signals Pixicular can provide are concrete: a plate or VIN in the photo that does not match the policy, a motor claim whose photos contain no vehicle, or a receipt total you can cross-check against the claimed amount. Other common checks, such as finding the same photo reused across claims or reading the capture date and location from image metadata, are not Pixicular features; run them in your own pipeline.
The defensible architecture is layered: photo signals feed a composite score together with policy features (tenure, prior claims, payment history), incident features (telematics, time and place of loss), and third-party data. Pixicular supplies the visual-evidence column of that table — labels, extracted text, and moderation flags, each with a confidence. The rules that turn them into a referral are yours: approve automatically only the clear cases, decline nothing automatically, and route the uncertain middle to an investigator with the structured response attached. The page on Pixicular's image analysis API lists every service you can combine.
Privacy, retention, and adjuster workflow notes
Claim photos are personal data, and personal-injury photos can be health data, a special category under GDPR Article 9 and comparable laws. Per the Pixicular privacy policy, uploaded images are retained for 30 days after analysis and detection results for the life of your account plus 90 days; include that in your data protection assessment. On your side, store the structured signals and the request ID against the claim, and keep the raw image only as long as your retention policy and regulator require.
In the adjuster UI, show labels and moderation flags as advisory chips next to the photo rather than as blocking modals, and blur flagged images until a reviewer opens them. Route each claim to the queue best equipped for it — desk adjuster, field inspector, or special investigations — with the structured response attached.
Frequently asked questions
How do you analyse insurance claim photos with an API?
POST each claim photo to https://api.pixicular.com/v1/detect and request the services you need in one call: typically detect-labels for the objects and scene in the photo, detect-text for visible text such as a licence plate, VIN or claim form, and detect-moderation for graphic or explicit content. The response is one JSON document with a key per service under services. Your claims rules turn those signals into triage decisions.
Can the API detect insurance fraud from photos?
No, and it does not claim to. Pixicular does not detect staged scenes, edited photos, or AI-generated images; its AI-generated image detection service is currently disabled while accuracy is being improved. What it gives you are inputs your fraud rules can use: plate and VIN text to compare with the policy record, labels that show whether a photo contains what the claim describes, and moderation flags. Combine them with policy history, other data sources, and adjuster judgement.
What fields does the insurance claim photo analysis API return?
Each requested service appears under services. detect-labels returns labels, each with a name, a confidence percentage, and categories. detect-text returns detections, each with detectedText, a type of LINE, and a confidence percentage; it does not return parsed fields such as a VIN key, so your code finds those in the lines. detect-moderation returns detected (true or false) and labels with name, parentName, and confidence. There are no bounding boxes or damage-severity scores.
Can I analyse property and personal injury photos, not just vehicle damage?
Yes. The same endpoint and JSON contract apply to any photo. detect-labels describes what is in the image, such as a roof, a window, or a room, using a general-purpose taxonomy rather than a damage-assessment model; detect-text reads printed text on invoices, receipts, and prescription labels; and detect-moderation flags graphic content so you can blur it before a reviewer opens it. Validate the labels on your own claim photos, because which damage-related labels appear depends on the taxonomy and the photo.
How fast and how accurate is the analysis?
Most requests return their result in the same response with HTTP 200. Under heavy load a request can be queued instead: the API answers 202 with a statusUrl to poll, which is not an error. Pixicular does not publish accuracy figures for labels, OCR, or moderation. Results are best on sharp, well-lit photos taken close to the subject, so route low-confidence results to manual review rather than approving them automatically.
Wire claim photos straight into your claims engine
The fastest way to evaluate Pixicular on real claims is to send a handful of representative FNOL photos and compare the JSON with your adjusters' notes. Pick a plan on the pricing page, read the API documentation for authentication and the response schema, and see the label detection and OCR service pages for more detail on each service.