API reference

Check a phone number

Check a phone number for fraud reports. Request fields, response examples and integration guidance.

GET /tools/phone/check

Example request

Server-side HTTP request
curl --request GET \
  --url "https://api.strongmb.ng/v1/tools/phone/check?phone=0123456789" \
  --header "Authorization: Bearer $STRONGMB_API_KEY" \
  --header "Accept: application/json"

Checks a Nigerian phone number against the Strongmb community fraud database. Returns the number of times it has been reported and the first/last seen dates. Use this before processing a purchase to flag potentially fraudulent recipients.

This endpoint is free — no charge, just include your standard API key. See strongmb.ng/reports/phone-reports to submit a report.

Query Parameters

Parameter Type Required Description
phone string Required Nigerian mobile number, 11 digits starting with 0 (e.g. 0123456789)

Request Example

HTTP
GET /v1/tools/phone/check?phone=0123456789 HTTP/1.1
Host: api.strongmb.ng
Authorization: Bearer sk_live_...
Accept: application/json
JSON — 200 Found
{
  "status": true,
  "message": "Phone number report stats fetched successfully.",
  "data": {
    "phone": "0123456789",
    "report_count": 3,
    "first_seen": "March 19, 2026, 12:00 AM",
    "last_seen": "May 19, 2026, 8:08 PM"
  },
  "metadata": {
    "code": "PHONE_REPORT_STATS_FETCHED",
    "timestamp": 1779217836,
    "trace_id": "DD971F54D8"
  }
}
JSON — 404 Not Found
{
  "status": false,
  "message": "No reports found for this phone number.",
  "data": null,
  "metadata": {
    "code": "ERR_PHONE_NUMBER_NOT_FOUND",
    "timestamp": 1779217786,
    "trace_id": "EB13653CA4"
  }
}
JSON — 422 Invalid
{
  "status": false,
  "message": "Invalid phone number.",
  "data": null,
  "metadata": {
    "code": "ERR_INVALID_MOBILE_NUMBER",
    "timestamp": 1779217800,
    "trace_id": "FA123456B7"
  }
}

Response Codes

Code HTTP Meaning
PHONE_REPORT_STATS_FETCHED 200 Number is in the fraud database. Read report_count to set your own block threshold — higher means more developers reported it. first_seen and last_seen show how long it has been active.
ERR_PHONE_NUMBER_NOT_FOUND 404 No reports exist for this number. It is not in the fraud database — safe to proceed with the transaction.
ERR_INVALID_MOBILE_NUMBER 422 The phone query parameter is not a valid Nigerian mobile number. Must be 11 digits starting with 0 (e.g. 0123456789).
Set your own threshold. Strict platforms block at report_count >= 1; lenient ones at report_count >= 3 or higher. Your platform, your rules.

Understand the request fields

Field Integration guidance
phone Recipient phone number. Preserve the leading zero. Confirm the network: prefixes do not account for ported numbers.

Response fields and types

Expand an object to explore its fields. [] indicates an array item. Error responses may return data: null.

Field path JSON type Meaning and handling
status boolean Whether this API request succeeded. Check the HTTP status and metadata.code when handling errors.
message string Human-readable description of the result. Use metadata.code for programmatic error handling instead of parsing this text.
data null | object Response data. Check the result before reading nested fields; an error may return null or validation details.
data.phone string Phone number as a string; preserve its leading zero. For phone checks, this is the number queried.
data.report_count integer Number of community reports associated with the phone number. It is context, not proof of wrongdoing.
data.first_seen string First-seen timestamp in the phone-report result.
data.last_seen string Most recent seen timestamp in the phone-report result.
metadata object Diagnostic information about the response.
metadata.code string Machine-readable result code. Use it to distinguish validation, authentication and service errors.
metadata.timestamp integer Unix timestamp in seconds associated with the response.
metadata.trace_id string Correlation identifier for troubleshooting. Retain it with a redacted request when contacting support.

Questions? Let’s work through them.

Having an issue or need help with your integration? Join the Strongmb Slack community to ask questions and get assistance from our team and other developers.

Keep API keys and customer details private when sharing examples.

Experiencing a service issue? Check Strongmb’s service status for incident updates.

Join our Slack community

Did this page help you?

Search documentation