apimatic-core
A library that contains core logic and utilities for consuming REST APIs using Python SDKs generated by APIMatic.
What it is and what it does
apimatic-core is a foundational library that powers REST API SDKs generated by APIMatic. It abstracts the mechanics of building HTTP requests, handling responses, managing authentication (headers, query parameters, or combinations thereof), validating data against schemas, and deserializing responses back into Python objects. The library is not meant to be used directly in most cases—it's the runtime engine that generated SDKs depend on—but developers who build or customize API clients may interact with its RequestBuilder, APICall, ResponseHandler, and authentication classes directly.
The package bundles configuration classes for both global and per-endpoint settings, exception types for validation failures, logging infrastructure, and HTTP utilities like proxy support. Its seven runtime dependencies (jsonpickle, python-dateutil, requests, setuptools, jsonpointer, typing-extensions, and apimatic-core-interfaces) are all stable, mature libraries. The library is actively maintained.
Use it for:
- Building custom REST API clients that need request construction, response parsing, and auth handling without writing boilerplate.
- Extending or customizing SDKs generated by APIMatic by leveraging its authentication, validation, and logging infrastructure.
- Implementing multi-factor authentication flows using the And/Or authentication group classes.
- Configuring HTTP proxies and client settings for API calls in enterprise or restricted network environments.
- Validating API responses against union-type schemas using oneOf and anyOf validation exceptions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides core runtime utilities for REST API SDKs, including HTTP request/response handling, authentication schemes, data validation, and object deserialization.
Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive license, and carries low install friction. Install it if you are using an APIMatic-generated SDK or building a custom REST client that needs robust request/response and authentication handling. It is not a general-purpose HTTP library; it is a specialized runtime for API consumption patterns.
Install
apimatic-core on PyPI
pip
pip install apimatic-coreuv
uv add apimatic-corepoetry
poetry add apimatic-coreInstalling apimatic-core
Before you install
Low install friction with a pure Python wheel distribution. Active maintenance with a recent release 67 days ago and commits through August 2026. Seven runtime dependencies are all standard, widely-used packages.
License in practice
MIT license is permissive; you can use this package in commercial and proprietary projects with minimal restrictions, provided you include the license notice.
Quickstart
pip install apimatic-core
from apimatic_core.request_builder import RequestBuilder
from apimatic_core.api_call import APICall
from apimatic_core.response_handler import ResponseHandler
builder = RequestBuilder('GET', 'https://api.example.com/endpoint')
request = builder.build()
Verify before relying
- Whether Python 3.7+ requirement is enforced at install time or only documented
- Real-world performance characteristics under high request volume
- Compatibility guarantees across minor version updates
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — apimatic-core-interfaces, jsonpickle, python-dateutil, requests, setuptools, jsonpointer, typing-extensions |
| Maintenance | actively maintained — 67 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 176,339/month — #10,247 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apimatic_core-0.2.25-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
apimatic-core-interfacesProvides abstract interfaces and type…
permissive · top 15,000 on PyPI
apimatic-requests-client-adapterProvides a requests-based HTTP client adapter…
permissive · top 15,000 on PyPI
azure-coreProvides shared exceptions, HTTP utilities, and…
unclear · top 1,000 on PyPI
Flask-RESTfulFlask-RESTful provides decorators and utilities…
permissive · top 5,000 on PyPI
apify-clientA Python client library for the Apify REST API…
permissive · top 5,000 on PyPI
djangorestframework-jsonapiAdapts Django REST framework to output…
permissive · top 15,000 on PyPI
foundry-platform-sdkA Python client library for the Foundry API…
permissive · top 5,000 on PyPI
pinterest-api-sdkPython client library for the Pinterest API…
permissive · top 15,000 on PyPI
drf-exceptions-hogStandardizes Django REST Framework exception…
permissive · top 5,000 on PyPI
makefunDynamically creates Python functions at runtime…
permissive · top 5,000 on PyPI