FNF SIM CHECK API
DEVICE NUMBER CHECKS · ANDROID SDK

One check.
A clearer signal.

Compare your customer’s registered account number with numbers reported by active SIMs. Get a matched, unmatched or not-detected result through one API.

100 trial checks · No card required · USD, EUR and INR plans

Your keys stay on your server

Give your app a short-lived, single-check token. Keep your commercial API key private.

Clear, metered usage

Only matched and unmatched results consume a check. Not-detected and expired checks are free; retries and polling are free too.

See the actual result

Your dashboard shows the registered number, detected numbers, result and timestamps in IST and UTC.

PRICING THAT SCALES

Setup once. Subscribe monthly. Pay per use.

Each published plan defines a setup fee, monthly fee, included checks and an extra-check rate. Only matched/unmatched results count; nil results are free. Extra results are deducted from a prepaid balance in the same currency. Self-service setup is free during launch. Optional hands-on integration assistance is separately quoted at ₹4,999 / $69 / €69; it is not added to subscription checkout. Renewals need a new purchase; no automatic charge. Trial-to-paid upgrades start immediately; paid renewals begin after the current paid period. App/key settings remain when a plan expires.

YOUR BUSINESS WORKSPACE

SIM API dashboard

Use your existing FNF business account or create a verified business account.

DEVELOPER GUIDE · API V1 / SDK 1.1.0

Integrate FNF SIM checks

SIM presence: sim_presence reports present, absent, unknown, permission_denied or unsupported. sim_present is true, false or null. A SIM can be present even when its number is unreadable; presence alone does not prove a number match. SDK 1.1.0 checks SIM slot states as well as active subscriptions. Disabled eSIM profiles are not inventoried. Presence-only results remain free.

Use the REST API from any backend. Number collection currently requires the Android SDK on Android 8.0 (API 26) or newer. An API request, IP address, website or iOS app alone cannot silently retrieve a SIM number. Modified apps can fabricate device readings; use these results as a risk signal, not as proof of identity or regulatory compliance.

Download SDK & examples OpenAPI reference

1. Create your business application

  1. Register or sign in to the business dashboard and verify your email.
  2. Start the one-time 7-day / 100-check trial, or purchase a published plan in USD, EUR or INR.
  3. Add your application’s name and exact Android package, for example com.example.customerapp. Choose whether to allow the USSD fallback.
  4. Create an API key. Copy it once into your backend’s secret manager. Never include it in an APK, web script, screenshot or public repository.

2. Create one check from your backend

Authenticate the customer in your own platform first. Supply the account number from your server’s account record, not an arbitrary number chosen by the mobile app. Use E.164 format with country code.

curl -X POST https://fnfmeet.com/api/v1/sim-check/checks   -H "Authorization: Bearer $FNF_SIM_API_KEY"   -H "Content-Type: application/json"   -H "Idempotency-Key: login-USER123-REQUEST456"   -d '{"account_ref":"USER123","account_number":"+919000000001"}'

The successful response contains data.check_id, data.check_token, data.expires_at and billing information. Send only the check ID and short-lived check token to your authenticated app. A check token expires after five minutes and cannot create or read other checks. A retry with the same idempotency key and identical input returns the original check without another charge; different input returns HTTP 409.

3. Install the Android SDK

Copy the AAR from the download into app/libs/ and add:

dependencies {
    implementation files('libs/fnf-sim-check-1.1.0.aar')
}

The library declares Internet and Phone permissions. Your app requests READ_PHONE_STATE and READ_PHONE_NUMBERS using Android’s runtime permission flow. Request CALL_PHONE only if you enable USSD. Respect denial; the SDK reports not-detected instead of bypassing it. Call the SDK from a foreground Activity after permission handling:

import com.fnfmeet.simcheck.FnfSimCheck;

// session values come from YOUR authenticated backend, never a stored API key.
FnfSimCheck.run(this, checkId, checkToken, new FnfSimCheck.Callback() {
    @Override public void onComplete(org.json.JSONObject result) {
        // Ask your backend to retrieve and evaluate the result.
    }
    @Override public void onError(String message) {
        // Show a retry option. Reuse the same valid check session.
    }
});

The SDK tries the system number reader, then SubscriptionInfo, separately for each active SIM. If both are unreadable, USSD can run on supported Indian networks: Airtel *282#, Vi *199#, BSNL *222# (owner-supplied; network support can vary). It does not try USSD for a readable mismatch. No menu selection, SMS reading or verification call is used. USSD is limited to one attempt per SIM on that device every six hours, including failures; a carrier flash response may appear. Jio and MTNL have no enabled USSD code in this SDK.

For your own voice/video calls, call FnfSimCheck.setVoipCallActive(true) while the call is active and reset it to false afterwards. The SDK also checks system call state before USSD. It never opens the dialer or requests permissions itself. Package checks prevent configuration mistakes; they do not attest that the app or device is genuine.

4. Retrieve the result on your backend

curl https://fnfmeet.com/api/v1/sim-check/checks/CHECK_ID   -H "Authorization: Bearer $FNF_SIM_API_KEY"

Only a key for the same business application can read the check. Poll with a short delay, for example every 3–5 seconds, until complete or expired; do not poll indefinitely.

{
  "ok": true,
  "data": {
    "check_id": "CHECK_ID",
    "state": "complete",
    "account_ref": "USER123",
    "account_number": "+919000000001",
    "detected_numbers": ["+919000000001"],
    "result": "matched",
    "verified": false,
    "proof_level": "device_report_only"
  }
}
  • matched: at least one readable active SIM equals the supplied account number. Another unreadable SIM does not invalidate that match.
  • unmatched: all detected active SIMs are readable and none equals the account number.
  • not_detected: number information is missing, partly unreadable, permission is denied, no SIM is active or the device is unsupported. Inspect reason; do not treat this as a mismatch.
  • pending / expired: the app has not reported yet, or the five-minute check window has ended.

The complete result includes sim_count, numbers_read, method counts and timestamps. A partially unreadable result may still contain readable detected numbers. Raw USSD responses, IMSI and ICCID are not returned. Your backend must decide the account action; never trust only the SDK’s on-screen callback.

Usage and billing rules

  • The setup fee applies once on the first paid subscription. A monthly purchase funds one subscription period; included checks reset when the next purchased period begins.
  • Only a completed matched or unmatched result consumes one check. Not-detected, expired and no-report checks are free. Pending sessions temporarily reserve capacity and, where needed, prepaid credit for up to five minutes. Reservations are released on a nil result or expiry; expiry cleanup occurs on the next API/dashboard access. No final charge is made at creation.
  • Included checks are used first. Additional checks deduct the plan’s per-check price from your prepaid balance. Currency balances are separate; there is no automatic conversion.
  • Invalid requests, denied keys, rate-limit rejections, polling, SDK reports and same-input idempotent retries do not consume extra billable uses. Total key request counters are shown separately.
  • If your period, check cap or prepaid balance is exhausted, new checks return HTTP 402. Existing valid check sessions can finish. Your applications and keys remain saved for renewal.
  • Amounts use integer amount_minor (100 minor units = 1 currency unit) and charged_micro (1,000,000 micro units = 1 currency unit). Micro-unit pricing avoids rounding each fractional-price check to a cent or paisa.

Security, retention and operational limits

Registered and detected numbers are encrypted in storage. Detailed results are kept for your plan’s retention period (1–90 days); after expiry, number fields are removed and usage metadata remains for accounting. Business dashboards are tenant-scoped; superadmin access is audited. Use opaque account references, protect dashboard access and disclose your collection/use of phone data in your own app’s privacy policy. Do not put real phone numbers in idempotency keys.

Revoke a compromised key in the dashboard. Revocation also invalidates its pending check tokens. Keep requests server-to-server over HTTPS; browser CORS access to secret-key APIs is not enabled. Suspension stops API access. Custom ROMs, absent network support, incomplete SIM records and permission settings can all affect availability; no fixed coverage percentage is guaranteed.

HTTP errors

401 invalid/revoked credentials · 402 subscription, quota or prepaid credit needed · 403 access denied · 404 resource unavailable · 409 conflicting idempotency input / completed or expired session · 422 invalid input · 429 rate limit. Retry transient network errors with the same idempotency key; never use a fresh key merely to retry an uncertain create request.

On-demand checks

Your backend can create a check whenever your app needs one. The dashboard also provides “Create check” for operational checks. Deliver that session to your own authenticated Android app through your backend or your app’s notification system. The app must run and collect the reading. FNF cannot query a disconnected phone from its number alone.