Description
This is the REST API of fiddlemail.com. It can be used to get information about fake emails and fake sms numbers.
You can get a sample PHP class and a sample PHP script to show basic API usage here.
Authentication
The authentication is done by your secret API key. Please check this page if you don't have an API key, yet.
The API key is embedded in the URI of each API request. I. e.:
/{your_api_key}/email/{address_to_check}
This applies for all request methods (GET and POST).
API endpoints
The base URI for the fiddlemail.com API is:
Live system: https://fiddlemail.com/api/v1
You can see the full URI to use for the different API methods below.
Please contact info@mogelmail.de if you need further information.
Request format
All request parameters besides the number/email address to check are passed via JSON. Which parameters can be used is stated at the corresponding API section below.
Response format
The API returns a HTTP status code and json a object in the response body. The json object (if existent) always contains an 'error' attribute.
{ "error": true, "message": "TYPE_OF_ERROR", "information": "...", ... }
The attribute 'error' is set to true if something was wrong with your call. Please be aware that the API also uses HTTP error status codes, so you will have to evaluate the json response on '400', '403' and '404' status codes, too.
If the 'error' attribute is true, you will get one or more further attributes:
General error typesshow
string
Here you get the type of error that occurred. Specific error types for the different API methods are explained below. These are the general error codes:
MISSING_HTTP_METHOD
Our server could not read the HTTP method (GET, POST) that you sent.
INVALID_HTTP_METHOD
You did not send a valid HTTP method (GET, POST).
UNSUPPORTED_METHOD
The HTTP method you used is not supported by this endpoint.
MISSING_REQUEST_URI
The API URI that you called is not valid.
INVALID_API_VERSION
The API version you set is unsupported.
MISSING_API_METHOD
The API URI you called did not contain any valid endpoint.
MISSING_QUERY
The API URI you called did not contain any query for a phone number or email address.
UNKNOWN_API_METHOD
The API URI you called contains an endpoint that is not known to the system.
MISSING_API_KEY
You did not provide your API auth key in the request.
INVALID_API_KEY
You did provide an invalid API auth key in the request.
EXPIRED_API_KEY
You did provide an expired API auth key in the request.
IP_RESTRICTED
This key is not valid for the ip you used.
RATE_LIMIT_EXCEEDED
You have made more requests in a specific amount of time than you are allowed to. Please check the information field for further data.
MISSING_JSON_DATA
The method you called require a JSON object in the request body, but it was missing.
INVALID_JSON_DATA
The JSON data in your request body could not be decoded.
INVALID_REQUEST
The request you sent could not be understand.
API_CALL_FAILED
The API call failed for an unknown reason. If this persists please contact the support.
string
If there are further information regarding the error, these are conained in this attribute. For example this can be the value you submitted causing the error or information about your rate limits.