MDS
GPRviewer API

API Pointé IA

The AI picking API automatically detects rebars in your ground penetrating radar (GPR) files. Send a file and get back the position (m) and depth (cm) of every rebar within seconds.

Our own model, the one behind AI picking in GPRviewer: trained in France, on our own servers, from surveys validated by MDS experts.

No subscription · Pay per metre of profile · A few lines of code to integrate

Pas développeur ? Le Pointé IA est inclus dans GPRviewer Pro : ouvrez vos fichiers, un clic, c'est pointé.

Radargramme d'une dalle en béton armé
Extrait de 1,2 m · calcul en moins d'une seconde

🔒 Your files are analyzed on our servers, then deleted. Nobody looks at them.

Try it on your own file

No account, no key: drop a radargram and the API returns its rebars in a few seconds.

Drop a file here or click to choose one .dzt, .nx, .sgy, .hf, .out / .h5 · 25 MB max · 3 tries per day

How it works

For software publishers and engineering firms that process many files: build rebar picking into your own processing, drawing and reporting workflow.

1

Create your key

Créez votre compte gratuit dans votre espace API, puis une clé API en un clic. Déjà utilisateur de GPRviewer ? Le même compte fonctionne.

2

Send the file

Un simple POST avec le fichier radar brut, depuis votre logiciel, un script ou la ligne de commande.

3

Get the JSON

The list of detected rebars, each with its distance, depth, two-way travel time and a confidence score.

Performance

852
rebars to find in the test, on real job-site surveys the model had never seen
88 %
of rebars found
1,3 mm
average depth difference from the expert's pick

{p5}% of depths within 5 mm of the expert's pick, with the same dielectric constant.

Each profile is processed in a few seconds.

The model is retrained regularly, and a new version only goes into service if it beats the previous one on the same control surveys.

Domaine de validité. Le modèle est entraîné pour les armatures du béton armé, sur des relevés d'antennes haute fréquence dédiées au béton (plus de 1 GHz), en majorité GSSI Flex NX, StructureScan XT / LXT, Mini LT et NX25. Les chiffres ci-dessus sont mesurés sur ces appareils. Un format accepté n'est pas une garantie de résultat : pour un autre appareil, ou un levé de réseaux à basse fréquence, vérifiez d'abord sur vos 200 m d'essai.

Results are an interpretation aid and must be checked by a qualified operator.

Deep learning AI

AI picking is built on a convolutional neural network (CNN), a deep learning model trained on radargrams from real job sites.

With or without AI

With AI picking
Manual picking
Time
A few seconds per profile: dozens of files processed in a row, unattended.
Every hyperbola picked by hand, one by one, radargram after radargram.
Operator's role
They review and correct: remove false detections and add any that were missed.
They do all the picking themselves.
Consistency
The same criterion on every file, whoever the operator.
Results vary from one operator to another, and with fatigue.

Supported formats

  • GSSI (.dzt, .nx)SIR 3000 / 4000, StructureScan Mini / XT / LXT, Flex NX, UtilityScan DF, Mini LT, NX25 / NX15, Compass NX (.nx)
  • SEG-Y (.sgy)Proceq / Screening Eagle (GP8000, GP8800), Radsys and other devices that export to SEG-Y.
  • Hilti PS 1000 (.hf)5 voies : la voie 3 est analysée par défaut, paramètre channel pour en choisir une autre.
  • gprMax (.out, .h5)gprMax 3 (.out) and 4 (.h5) simulations: merged B-scan (outputfiles_merge).

Files up to 600 MB.

For dual-channel files, channel 1 is analysed.

Coming soon

  • Sensors & Software (.dt1)
  • IDS GeoRadar (.dt)
  • Malå (.rd3, .rd7)
  • ImpulseRadar (.iprb)
  • Kontur, ex-3D-Radar (.vol)

Déjà lus par notre moteur, ces formats seront acceptés par l'API après validation sur des relevés béton. Vous en avez besoin ? Écrivez-nous à info@gprviewer.com.

Pricing

Prepaid credits, no subscription. Billed per metre of profile processed, rounded up to the next metre, with a minimum of 1 m per file. Prices exclude VAT.

Free trial 200 m when you create your first key
Discovery 1,000 m €50 excl. VAT i.e. €0.050 / m
Volume 25,000 m €750 excl. VAT i.e. €0.030 / m
High volume 25,000 m + Contact us a rate tailored to your volume

Privacy

  • Your files are received on our hosting in Europe (Switzerland) and analyzed on our own servers, located at MDS.
  • Processing is fully automatic: nobody looks at your files.
  • The file is deleted as soon as the result is returned; its name is never stored.
  • Your files are never used to train our models, nor passed on to third parties.

Terms of use (summary)

  • Use of the API is subject to the GPRviewer terms of use.
  • Results may not be used to train or replicate a competing model.
  • Rate limit: up to 5 files processing at the same time per account.
  • Results are provided as an interpretation aid, with no guarantee that every rebar is detected.

Documentation

REST API with JSON responses, HTTPS only.

Real example, on the profile shown

            

Base URL

https://gprviewer.com/api

Les chemins ci-dessous s'ajoutent à cette base : POST /v1/rebars correspond à https://gprviewer.com/api/v1/rebars.

Authentication

Transmettez votre clé dans l'en-tête Authorization: Bearer gpv_live_… ou, à défaut, dans X-API-Key: gpv_live_….

Authorization: Bearer gpv_live_xxxxxxxxxxxxxxxxxxxxxxxx
The key is shown only once, when it is created — store it somewhere safe. You can revoke it at any time from your account area. Never ship it in code that runs on your users' side (browser, distributed application).

Analyse a file

POST/v1/rebars?filename=SCAN_001.DZT[&epsr=6.5][&channel=3][&traces_per_m=200][&wait=30]

Corps de la requête : le fichier brut (Content-Type: application/octet-stream), ou un envoi multipart/form-data avec un champ file.

ParameterDescription
filenameObligatoire. Nom du fichier, extension comprise (ou en-tête X-File-Name) : l'extension détermine le format.
epsrOptional, 1 to 81. Relative permittivity used to convert time to depth. Defaults to the value stored in the file.
channelOptional, Hilti PS 1000 only: channel to analyse, 1 to 5 (default 3).
traces_per_mFacultatif, de 10 à 2000 : nombre de traces par mètre, pour un fichier qui ne donne pas l'espacement des traces (SEG-Y Proceq / Screening Eagle, par exemple) ou pour le corriger. À défaut, celui du fichier, sinon 200 (2 traces/cm) ; la réponse l'indique alors par traces_per_m_source.
waitFacultatif, de 0 à 50 s (30 par défaut). Durée pendant laquelle la requête attend le résultat. Si le calcul n'est pas terminé à temps, la réponse est un 202 avec l'identifiant de la tâche.
curl -X POST "https://gprviewer.com/api/v1/rebars?filename=SCAN_001.DZT&wait=30" \
  -H "Authorization: Bearer $GPV_API_KEY" \
  -H "Content-Type: application/octet-stream" \
  --data-binary @SCAN_001.DZT

Multipart variant:

curl -X POST "https://gprviewer.com/api/v1/rebars?filename=SCAN_001.DZT" \
  -H "Authorization: Bearer $GPV_API_KEY" \
  -F "file=@SCAN_001.DZT"

Response 200 — processing complete

{
  "id": "0c180c12-864e-471b-9312-76ac22fa72fb",
  "status": "done",
  "created_at": "2026-11-06T10:51:36.31Z",
  "finished_at": "2026-11-06T10:51:37.38Z",
  "result": {
    "engine": "2026.11.06",
    "file": { "device": "DF", "antenna": "D50800", "channels": 2, "traces": 397, "samples": 512,
              "traces_per_m": 100, "range_ns": 33.333, "length_m": 3.97, "epsr": 9.042 },
    "channel": 1,
    "surface_sample": 51,
    "polarity": "normal",
    "rebars": [
      { "distance_m": 1.63, "depth_cm": 19.8, "time_ns": 3.971, "confidence": 0.965, "trace": 163, "sample": 61 },
      { "distance_m": 1.9,  "depth_cm": 18.8, "time_ns": 3.776, "confidence": 0.945, "trace": 190, "sample": 58 }
    ],
    "count": 2
  },
  "usage": { "length_m": 3.97, "charged_m": 4 },
  "balance_m": 192
}

Field reference

FieldMeaning
distance_mDistance from the start of the profile, in metres.
depth_cmProfondeur depuis la surface, en centimètres, calculée avec l'εr du fichier ou celui passé dans epsr.
time_nsTwo-way travel time from the surface, in nanoseconds.
confidenceModel confidence score, from 0 to 1.
traceTrace index in the file.
sampleSample index, counted from the detected surface.
result.fileProperties of the file as read: device, antenna, number of channels, traces, samples, traces per metre, time range (ns), length (m), εr used.
result.channelChannel analysed.
result.surface_sampleSample of the detected surface in the file.
result.polarity"normal" or "inverted": signal polarity used. For SEG-Y files the polarity is detected automatically (some systems record with reversed polarity).
usageProfile length and metres charged (rounded up to the next metre).
balance_mRemaining balance after this file, in metres.

Response 202 — still processing

{ "id": "0c180c12-864e-471b-9312-76ac22fa72fb", "status": "queued", "poll": "/v1/jobs/0c180c12-864e-471b-9312-76ac22fa72fb" }

Si le résultat n'est pas prêt dans le délai wait, la réponse donne l'identifiant de la tâche. Interrogez alors GET /v1/jobs/{id} (avec ?wait=20 pour attendre jusqu'à 20 s par appel) jusqu'à obtenir le statut done ou failed. Une tâche terminée porte l'objet result décrit plus haut.

GET/v1/jobs/{id}[?wait=20]

Check your balance

GET/v1/balance
{ "balance_m": 192, "unit": "m" }

Check your usage

GET/v1/usage

Balance, usage over the last 30 days (per day) and the account's 50 most recent jobs. Full details, keys and invoices are also in your API account on gprviewer.com.

{
  "balance_m": 133, "unit": "m",
  "last_30_days": {
    "jobs": 6, "charged_m": 67,
    "by_day": [ { "day": "2026-11-06", "jobs": 6, "charged_m": 67 } ]
  },
  "recent": [
    { "id": "f44ada08-…", "created_at": "2026-11-06T13:37:30Z", "status": "done",
      "format": "dzt", "length_m": 0.75, "charged_m": 1, "count": 5 }
  ]
}

Errors

Errors come with an explicit HTTP status and a body of the form:

{ "error": { "code": "insufficient_credits", "message": "…" } }
HTTPCodeMeaning
400bad_epsrepsr hors de l'intervalle 1–81.
400bad_channelchannel doit être un entier de 1 à 5.
400bad_traces_per_mtraces_per_m doit être compris entre 10 et 2000.
400empty_fileEmpty file.
400missing_fileNo file in the request.
401invalid_api_keyMissing, invalid or revoked key.
401expired_api_keyKey past the validity period chosen when it was created: create a new one in your account.
402insufficient_creditsNot enough credit to process this file.
413file_too_largeFile larger than 600 MB.
415unsupported_formatMissing extension or unsupported format.
429too_many_jobs5 files are already being processed on this account — wait for one to finish.
500internal_errorInternal error — please retry later. The file is not charged.

Complete examples

Chaque exemple envoie un fichier, interroge /v1/jobs/{id} si nécessaire jusqu'à la fin du calcul, puis affiche les armatures. La clé est lue dans la variable d'environnement GPV_API_KEY.

#!/bin/sh
# Usage: GPV_API_KEY=gpv_live_... ./pick-rebars.sh SCAN_001.DZT
API="https://gprviewer.com/api"
FILE="$1"
NAME=$(basename "$FILE")

# 1. Upload the file (waits up to 30 s for the result).
#    X-File-Name instead of ?filename= : no URL-encoding needed for spaces.
curl -s -X POST "$API/v1/rebars?wait=30" \
  -H "Authorization: Bearer $GPV_API_KEY" \
  -H "Content-Type: application/octet-stream" \
  -H "X-File-Name: $NAME" \
  --data-binary "@$FILE" > result.json

# 2. Still processing (202)? Poll the job until it is done or failed
while :; do
  STATUS=$(jq -r '.status // "error"' result.json 2>/dev/null || echo error)
  case "$STATUS" in done|failed|error) break ;; esac
  JOB=$(jq -r '.id' result.json)
  sleep 1
  curl -s "$API/v1/jobs/$JOB?wait=20" \
    -H "Authorization: Bearer $GPV_API_KEY" > result.json
done

# 3. Print the rebars, or the error
if [ "$STATUS" = "done" ]; then
  jq -r '.result.rebars[] | "\(.distance_m) m\t\(.depth_cm) cm\tconfidence \(.confidence)"' result.json
  jq -r '"\(.result.count) rebar(s)"' result.json
else
  cat result.json; exit 1
fi

Nécessite curl et jq.

import os
import requests

API = "https://gprviewer.com/api"
HEADERS = {"Authorization": f"Bearer {os.environ['GPV_API_KEY']}"}


def check(r):
    """Return the JSON body, or raise with the API error code."""
    body = r.json()
    if r.status_code not in (200, 202):
        err = body.get("error", {})
        raise RuntimeError(f"HTTP {r.status_code} {err.get('code')}: {err.get('message')}")
    return body


def pick_rebars(path, epsr=None):
    params = {"filename": os.path.basename(path), "wait": 30}
    if epsr is not None:
        params["epsr"] = epsr

    # 1. Upload the raw file
    with open(path, "rb") as f:
        job = check(requests.post(
            f"{API}/v1/rebars", params=params, data=f,
            headers={**HEADERS, "Content-Type": "application/octet-stream"},
            timeout=120,
        ))

    # 2. 202 = still processing: poll the job
    while job["status"] not in ("done", "failed"):
        job = check(requests.get(
            f"{API}/v1/jobs/{job['id']}", params={"wait": 20},
            headers=HEADERS, timeout=60,
        ))

    if job["status"] == "failed":
        raise RuntimeError(f"Job {job['id']} failed: {job.get('error')}")
    return job["result"]


if __name__ == "__main__":
    result = pick_rebars("SCAN_001.DZT")
    for b in result["rebars"]:
        print(f"{b['distance_m']:7.2f} m  {b['depth_cm']:6.1f} cm  confidence {b['confidence']:.2f}")
    print(f"{result['count']} rebar(s) on {result['file']['length_m']} m")

Python 3.8+ et requests (pip install requests).

// pick-rebars.mjs — Node.js 18+
import { readFile } from "node:fs/promises";
import { basename } from "node:path";

const API = "https://gprviewer.com/api";
const AUTH = { Authorization: `Bearer ${process.env.GPV_API_KEY}` };

// Return the JSON body, or throw with the API error code
async function call(url, init = {}) {
  const res = await fetch(url, { ...init, headers: { ...AUTH, ...init.headers } });
  const body = await res.json();
  if (!res.ok) {
    const e = body.error ?? {};
    throw new Error(`HTTP ${res.status} ${e.code}: ${e.message}`);
  }
  return body;
}

async function pickRebars(path, { epsr } = {}) {
  const params = new URLSearchParams({ filename: basename(path), wait: "30" });
  if (epsr !== undefined) params.set("epsr", String(epsr));

  // 1. Upload the raw file
  let job = await call(`${API}/v1/rebars?${params}`, {
    method: "POST",
    headers: { "Content-Type": "application/octet-stream" },
    body: await readFile(path),
  });

  // 2. 202 = still processing: poll the job
  while (job.status !== "done" && job.status !== "failed") {
    job = await call(`${API}/v1/jobs/${job.id}?wait=20`);
  }
  if (job.status === "failed") throw new Error(`Job ${job.id} failed`);
  return job.result;
}

const result = await pickRebars(process.argv[2] ?? "SCAN_001.DZT");
for (const b of result.rebars) {
  console.log(`${b.distance_m.toFixed(2)} m  ${b.depth_cm.toFixed(1)} cm  confidence ${b.confidence.toFixed(2)}`);
}
console.log(`${result.count} rebar(s) on ${result.file.length_m} m`);

Node.js 18+ (fetch natif). Enregistrez le script sous pick-rebars.mjs.

Ready to integrate AI picking?

Create your account, generate a key and process your first 200 metres for free.

Try it free — 200 m included

Pas développeur ? Le Pointé IA est inclus dans GPRviewer Pro : ouvrez vos fichiers, un clic, c'est pointé.