To use the CallerAPI, include your API key in the header of each request:
X-Auth: YOUR_API_KEY
Replace YOUR_API_KEY
with the actual API key provided
in your CallerAPI dashboard.
••••••••••••••••••••••••••••••
Retrieve information about the authenticated user.
GET https://callerapi.com/api/me
{ "status": "success", "email": "[email protected]", "credits_spent": 23498, "credits_monthly": 250000, "credits_left": 226502 }
curl -H 'X-Auth: YOUR_API_KEY' 'https://callerapi.com/api/me'
Retrieve detailed information about a specific phone number.
GET https://callerapi.com/api/phone/info/{phone}
Replace {phone}
with the phone number you
want to look up. The phone number should be in E.164 format (e.g., +18006927753).
The response is a JSON object containing information from various sources. Here's a breakdown of the main sections:
callerapi
: Internal spam and block datatruecaller
: Basic phone number validation and carrier infocallapp
: Detailed business information and social media profilesviewcaller
: Community-sourced names and spam reportseyecon
: Contact name informationhiya
: Reputation data and user comments{ "status": "success", "callerapi": { "name": null, "spam_count": 0, "block_count": 0, "is_spam": false, "spam_score": 0 }, "truecaller": { "number": "+1 800-692-7753", "is_valid": true, "country_code": 1, "national_number": 8006927753, "country": "United States", "number_type": 3, "number_type_label": "Toll free", "provider": "", "time_zones": ["America/New_York", "America/Chicago", "America/Denver", "America/Los_Angeles"] }, "eyecon": "Apple Inc.", "callapp": { "name": "apple inc.", "websites": [ {"websiteUrl": "http://www.apple.com/"}, {"websiteUrl": "https://www.apple.com/"}, {"websiteUrl": "http://m.yelp.com/biz/apple-computer-headquarters-cupertino"} ], "addresses": [ {"type": 1, "street": "Summit Boulevard, 35243, Vestavia Hills"}, {"type": 1, "street": "320 S Capital of Texas Hwy, West Lake Hills, TX 78746, USA"} ], "photoUrl": "https://lh3.googleusercontent.com/p/AF1QipPmIDDqiF56xI9-dF3etwxfTYmlZrpKJKn_2T9r=k", "categories": [ {"name": "Shopping & Retail"}, {"name": "Computer & Equipment Dealers"} ], "avgRating": 4.6, "priceRange": 3, "description": "Apple retail store showcasing the brand's phones, tablets & more in sleekly designed spaces.", "openingHours": { "sunday": ["07:00 - 16:00"], "monday": ["05:00 - 20:00"], "tuesday": ["05:00 - 20:00"], "wednesday": ["05:00 - 20:00"], "thursday": ["05:00 - 20:00"], "friday": ["05:00 - 20:00"], "saturday": ["07:00 - 16:00"] }, "facebookID": {"id": "114092991968595", "sure": true, "version": 1}, "linkedinPubProfileUrl": {"id": "http://www.linkedin.com/pub/claudia-smith/30/565/a31", "sure": true, "version": 1}, "twitterScreenName": {"id": "djsetroc", "sure": true, "version": 1}, "googlePlusID": {"id": "115474023033355232032", "sure": true, "version": 1}, "foursquareID": {"id": "12550046", "sure": true, "version": 1}, "instagramID": {"id": "230216465", "sure": true, "version": 1}, "pinterestID": {"id": "caseybrunetti", "sure": true, "version": 1}, "lat": 30.30219640000001, "lng": -97.8296238, "url": "https://maps.google.com/?cid=2099657283551182410", "googlePlacesId": "ChIJfTemqIdKW4YRopyJNzlsVwE", "huaweiPlacesId": "798EC49D94E53FA0CC39A9A66E3FCA90", "spamScore": 343, "priority": 37744 }, "viewcaller": [ { "name": "apple inc.", "prefix": "1", "number": "8006927753", "spamCounter": 0, "spam": false, "names": [ { "name": "apple inc.", "occurrences": 9273, "isSpam": false }, { "name": "apple", "occurrences": 609, "isSpam": false } ], "namesCount": 2 } ], "hiya": { "name": "Apple Inc.", "type": "Business", "is_spam": false, "reputation": "UNCERTAIN", "spam_score": 0, "reputation_score": 100, "category": "Technology", "comments": { "reports": [ { "id": "unique-id", "phone": "1/8006927753", "timestamp": "2024-02-14T12:53:21.190Z", "comment": { "languageTag": "en-US", "str": "Apple Support" }, "category": 1 } ] } } }
spam_count
: Number of spam reportsblock_count
: Number of times the number was blockedis_spam
: Whether the number is marked as spamspam_score
: Spam likelihood score (0-100)is_valid
: Whether the number is validcountry
: Country of the phone numbernumber_type_label
: Type of number (mobile, landline, etc.)provider
: Carrier/provider namewebsites
: Associated websitesaddresses
: Physical addressescategories
: Business categoriesopeningHours
: Business hoursspamScore
: Spam likelihood scorespamCounter
: Number of spam reportsnames
: List of reported names with occurrence countsnamesCount
: Total number of reported namesreputation
: Overall reputation (GOOD, SPAM, UNCERTAIN)spam_score
: Spam likelihood score (0-100)comments
: User-submitted reports and comments1
: Not Spam - Legitimate calls2
: General Spam - Non-specific spam calls3
: Debt Collector - Collection agency calls4
: Political - Campaign or political calls5
: Nonprofit - Charity or nonprofit organization calls6
: Telemarketer - Sales and marketing calls7
: Survey - Market research or survey calls8
: Fraud - Scam or fraudulent calls10
: Robocaller - Automated calling systemscurl -H 'X-Auth: YOUR_API_KEY' 'https://callerapi.com/api/phone/info/18006927753'
These endpoints provide advanced phone number intelligence. Each endpoint requires authentication with your API key.
Note: 1 credit = $0.0039. Credits will be deducted based on the equivalent cost of each request.
Check if a number has been ported and get the most recent porting date.
GET https://callerapi.com/api/ported/{phone}
{ "ported": true, "ported_date": "2016-12-30 15:15:19", "ported_date_type": "exact", "status": 0, "status_message": "Success" }
ported
: Boolean indicating if the number has been ported from its original networkported_date
: Timestamp of the most recent porting event in "YYYY-MM-DD HH:MM:SS" formatported_date_type
: Indicates the reliability of the porting date:current_network
: Information about the current network operator:mcc
: Mobile Country Codemnc
: Mobile Network Codename
: Operator namespid
: Service Provider IDlrn
: Location Routing Number (if applicable)origin_network
: Information about the original network operator that issued the number (same fields as current_network)present
: Indicates if the number is currently active in the network ("yes", "no", or "n/a")status
: Response status code (0 = Success)status_message
: Human-readable status messagecurl -H 'X-Auth: YOUR_API_KEY' \
'https://callerapi.com/api/ported/40721987086'
Retrieve the complete history of porting events for a number.
GET https://callerapi.com/api/porting-history/{phone}
{ "porting_history": [ { "action": "D", "tmtnetwork": 4018720, "i_type": "m", "ts": "2022-01-31T00:00:00" }, { "action": "A", "tmtnetwork": 4018740, "i_type": "m", "ts": "2021-03-18T00:00:00" } ], "status": 0, "status_message": "Success" }
porting_history
: Array of porting events since logging began for the country, ordered from most recent to oldestaction
: Type of porting action:tmtnetwork
: Unique identifier for the network operator involved in the eventi_type
: Network type identifier:ts
: Timestamp of the event in ISO 8601 formatcurrent_network
: Information about the current network operator:mcc
: Mobile Country Codemnc
: Mobile Network Codename
: Operator namespid
: Service Provider IDlrn
: Location Routing Number (if applicable)ported
: Boolean indicating if the number is currently portedstatus
: Response status code (0 = Success)status_message
: Human-readable status messagecurl -H 'X-Auth: YOUR_API_KEY' \
'https://callerapi.com/api/porting-history/40739521819'
Assess the risk of port-out fraud for a number based on recent porting activity.
GET https://callerapi.com/api/port-fraud/{phone}
{ "port_fraud_risk": "low", "status": 0, "status_message": "Success" }
port_fraud_risk
: Assessment of the risk level for potential port-out fraud:risk_factors
: Array of detected risk factors (if any):last_port
: Information about the most recent porting event (if any):date
: Date of the last porting eventfrom
: Source network operatorto
: Destination network operatorstatus
: Response status code (0 = Success)status_message
: Human-readable status messageNote: Port fraud risk assessment combines historical porting data with real-time network signaling checks to evaluate the likelihood of fraudulent porting activity.
curl -H 'X-Auth: YOUR_API_KEY' \
'https://callerapi.com/api/port-fraud/40721987086'
Check if a number is linked to various online platforms and services.
GET https://callerapi.com/api/online-presence/{phone}
{ "online_presence": { "whatsapp": 1, "telegram": 0, "amazon": 1, "google": 1, "office365": 1, "instagram": 1, "linkedin": -1, "twitter": 1, "skype": 0, "viber": 0 }, "status": 0, "status_message": "Success" }
online_presence
: Object containing presence status for various platforms1
: Active - phone number is linked to an active account0
: Inactive - phone number is not linked to an account-1
: Unknown - platform status could not be determined-2
: Error - error occurred while checking platformwhatsapp
: WhatsApp messaging servicetelegram
: Telegram messaging serviceamazon
: Amazon shopping platformgoogle
: Google account servicesoffice365
: Microsoft Office 365instagram
: Instagram social medialinkedin
: LinkedIn professional networktwitter
: Twitter/X social mediaskype
: Skype calling serviceviber
: Viber messaging appfacebook
: Facebook social networkflipkart
: Flipkart shopping platform (India)bukalapak
: Bukalapak shopping platform (Indonesia)error
: Error codeerror_description
: Human-readable error messagestatus
: Response status code:status_message
: Human-readable status messageNote: Platform availability may vary by country. Some platforms are only available in specific regions.
Values: 1 = active, 0 = not active, -1 = unknown
curl -H 'X-Auth: YOUR_API_KEY' \
'https://callerapi.com/api/online-presence/40721987086'
Verify identity information against mobile network operator records.
POST https://callerapi.com/api/kyc/{phone}
{ "name": { "first_name": "John", "middle_name": "Robert", "last_name": "Smith" }, "dob": { "day": "2", "month": "11", "year": "1985" }, "address": { "street": "Omnia", "street_no": "23", "unit_no": "11A", "city": "Toronto", "state": "Ontario", "postcode": "M4B1B3", "country": "CA" }, "email": "[email protected]" }
{ "kyc_results": { "first_name_score": 100, "last_name_score": 100, "middle_name_score": -1, "address_score": 78, "dob": 50, "email_score": 100 }, "status": 0, "status_message": "Success" }
name
: Object containing name components to verifyfirst_name
: First/given namemiddle_name
: Middle name (optional)last_name
: Last/family namedob
: Object containing date of birth componentsday
: Day of birth (1-31)month
: Month of birth (1-12)year
: Year of birth (4-digit format)address
: Object containing address componentsstreet
: Street namestreet_no
: Street numberunit_no
: Apartment/unit number (optional)city
: City/town namestate
: State/province/regionpostcode
: Postal/ZIP codecountry
: Country code (ISO 2-letter)email
: Email address to verifykyc_results
: Object containing match scores for each verified fieldfirst_name_score
: Match score for first namemiddle_name_score
: Match score for middle namelast_name_score
: Match score for last nameaddress_score
: Overall match score for the entire addressstreet_name_score
: Match score for street namestreet_no_score
: Match score for street numberunit_no_score
: Match score for unit numbercity_score
: Match score for cityprovince_score
: Match score for state/provincepostcode_score
: Match score for postal codecountry_score
: Match score for countrydob
: Match score for date of birthemail_score
: Match score for email addressstatus
: Response status code (0 = Success)status_message
: Human-readable status message100
: Perfect match - exact match with carrier records75-99
: Strong match - high confidence in data accuracy50-74
: Partial match - some matching elements found1-49
: Weak match - low confidence in data accuracy0
: No match - data exists but does not match-1
: Unknown - carrier has no data for comparisonNote: Different carriers may use different matching algorithms. Some use percentage-based scoring while others use simple match/no-match (converted to 100/0). All responses are normalized to the -1 to 100 scale.
curl -X POST -H 'X-Auth: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": {
"first_name": "John",
"middle_name": "Robert",
"last_name": "Smith"
},
"dob": {
"day": "2",
"month": "11",
"year": "1985"
},
"address": {
"street": "Omnia",
"street_no": "23",
"unit_no": "11A",
"city": "Toronto",
"state": "Ontario",
"postcode": "M4B1B3",
"country": "CA"
},
"email": "[email protected]"
}' \
'https://callerapi.com/api/kyc/40721987086'