parseapi
Official parseAPI client for Python.
pip install parseapi
from parseapi import ParseAPI
parse = ParseAPI("your-api-key")
country = parse.country("US")
Get a key at parseapi.com. The client also reads PARSEAPI_KEY from the environment.
Calls
One method per endpoint, named after the route.
parse.ip("8.8.8.8")
parse.ip.self()
parse.email("hello@gmail.com")
parse.vat("DE136695976")
parse.iban("DE89370400440532013000")
parse.npi("1881018208")
parse.phone("+14155552671")
parse.carrier("+14155552671")
parse.caller("+14155552671")
parse.hlr("+14155552671")
parse.postal("SW1A 1AA")
parse.postal("28202", country="US")
parse.postal.nearby("28202", country="US", radius=40)
parse.postal.distance("28202", "10001", country="US")
parse.city("charlotte", country="US")
parse.city.id("city_mb8mbqrkz8zb")
parse.city.search("char", country="US", limit=10)
parse.city.nearest(35.2271, -80.8431)
parse.city.nearby("denver", radius=8, unit="mi")
parse.country("US")
parse.country.states("US")
parse.state("colorado")
parse.state("NC", country="US")
parse.state.districts("NC", country="US")
parse.district("37081")
parse.continent("NA")
parse.continent.countries("NA")
parse.currency("USD")
parse.currency.rate("USD", "EUR")
parse.language("en")
parse.name("BILLY OSHALL")
parse.timezone("America/New_York")
parse.holiday("US", year=2026)
parse.holiday.date("US", "2026-12-25")
parse.elevation(35.2271, -80.8431)
parse.point(36.0726, -79.792)
parse.weather(40.7128, -74.006)
parse.domain("example.com")
parse.mx("example.com")
parse.useragent(ua_string)
parse.vin("1HGCM82633A004352")
parse.emoji("rocket")
parse.emoji.search("fire")
Responses are plain dicts, exactly the JSON the API returns.
Async
Same surface, await everything.
from parseapi import AsyncParseAPI
parse = AsyncParseAPI("your-api-key")
country = await parse.country("US")
Deep
Pass deep=True to include the nested deep object with richer fields.
ip = parse.ip("52.94.76.10", deep=True)
ip["deep"]["datacenter"] # True
Errors
Every non-2xx response raises ParseAPIError with status, code, docs, and request_id. Branch on code.
from parseapi import ParseAPIError
try:
parse.city("atlantis")
except ParseAPIError as err:
if err.code == "not_found":
... # no such city
Options
parse = ParseAPI(
"your-api-key",
timeout=10.0, # per-attempt timeout in seconds
retries=2, # automatic retries on network errors, 429, and 5xx
)
Requires Python 3.9 or later. One dependency (httpx).
Docs
Full field reference for every endpoint: parseapi.com/docs
Release files for parseapi 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| parseapi-0.2.1.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| parseapi-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.5 kB
Release files / parseapi-0.2.1.tar.gz
| Download URL | parseapi-0.2.1.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
954b0bb84371b573ef2878ea49ea0d79c8a0dbd2cee8a1c0bb4cf31a13965f9f
|
|
BLAKE2b-256 checksum How to use checksums |
48cefebfe749b347e5a24094d3dc80325edc47af326e5df2a69f22541c5a10b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency logRelease files / parseapi-0.2.1-py3-none-any.whl
| Download URL | parseapi-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb6bdf2416106972e8c6c4a66a7e307a3b3bbc3290acfac1a0499376d3218df6
|
|
BLAKE2b-256 checksum How to use checksums |
6caff5e78e3236169a551bdc7dd64bd0b7a54849dea479f91cd68ccf21057cc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency log