The API can return results in json format or in simple format. Use mode = 1 to get detailed results in json format, or mode = 2 to get a simple answer.
GET request format:
https://api.callfilter.app/apis/[API key]/[mode]/[phone number].
When mode = 1 the api gives this result:
{"phone":393391500756,"blocked":1,"cat":8,"comments":15}
Where:
phone is the phone number in international format without the plus sign.
1 => Scam,
2 => Advertising,
3 => Financial services,
4 => Surveys,
5 => Debt collectors,
6 => Company,
7 => Store,
8 => Other.
If mode = 2 (simple mode) api returns only number: 1 if number is blocked, 0 if number is not blocked.
The free key allows up to 15 requests per minute, the paid key allows up to 120. If the number of requests is exceeded, you will get an error 503. In this case, you will have to repeat the request a little later.