Skip to main content

calmido

Python client for the Calmido phone number lookup API: who is calling from a Dutch (+31), Belgian (+32) or Luxembourgish (+352) number, and is it reported as spam. Standard library only, Python 3.9 or later.

pip install calmido

Get a free key at calmido.com/nl-en/developers and keep it on your server.

from calmido import Calmido, CalmidoError

calmido = Calmido()  # the key from CALMIDO_API_KEY, or Calmido("cal_…")

try:
    answer = calmido.lookup("+31 183 554 004")
except CalmidoError as error:
    # error.status, error.code (invalid_number, invalid_key, rate_limited, …), error.retry_after
    raise

print(answer.verdict, answer.report_count)  # suspicious 59
print(answer.summary)                       # one sentence you may quote, with the link
print(answer.page_url)                      # link this wherever you show the verdict

lookup(number, country=None, language="en") takes international (+31 20 123 4567, 0031…, 31201234567) or national (020 123 4567, with country="BE" for a Belgian one) numbers. usage() gives the key's plan and today's count. verdict is one of suspicious, safe, neutral, business, empty, restricted or unavailable: empty does not mean a number is safe, and unavailable never means "no reports". The full contract is the OpenAPI spec.

Errors: a refusal is a CalmidoError; a network failure passes through as an OSError (urllib.error.URLError, a timeout; the default timeout is 10 seconds, Calmido(timeout=…)).

Using it within the terms

The API terms apply to every use. The ones a client cannot enforce for you:

  • One number per lookup, for the numbers your users ask about or are called by. Walking through number ranges is extraction.
  • Name Calmido and link page_url wherever you show a verdict. A business name is shown only with its sources.
  • This client caches nothing. Keep an answer for at most 24 hours if you cache it yourself, and do not build a history from it.
  • Free key: 100 distinct numbers a day, 60 requests a minute. A repeat of a number already looked up today does not count again.

MIT licence. The data the API returns is governed by the API terms.

Metadata

Release files for calmido 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for calmido 0.1.0
File Size Uploaded Provenance Actions
calmido-0.1.0.tar.gz 16.5 kB With provenance Details for calmido-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calmido 0.1.0
File Interpreter ABI Platform Actions
calmido-0.1.0-py3-none-any.whl Python 3 none any Details for calmido-0.1.0-py3-none-any.whl

Total release size: 21.5 kB

Release files / calmido-0.1.0.tar.gz

Download URL calmido-0.1.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
63752b0341b82fe26a4fa64930441e4743cab9163c6231b1a893a4fe87dc139b
BLAKE2b-256 checksum
How to use checksums
afa69ca924939d8e3800a5707a3cc577c98463aeecac02577b1d852304df5dc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Release files / calmido-0.1.0-py3-none-any.whl

Download URL calmido-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb55d8270cd4a093fd9e7b95613912d0eefc95383cbeceb0ce0247ca47f400aa
BLAKE2b-256 checksum
How to use checksums
fcb5d182f02f0be4ff0bedbe4edf697a4d09cf4c855fed5c076df24793181ccc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

Security for calmido 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for calmido-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page