Connect to Portiqa
Run portfolio evaluations in your AI assistant with MCP, or integrate the REST API into your own software.
Get started with the REST API
- Sign in to Portiqa and accept the API and MCP usage disclaimer.
- Go to API usage in Profile and select Generate API key. Copy the key when it appears and store it on your server.
- Send
POST https://portiqa.ai/evaluatewithAuthorization: Bearer YOUR_API_KEY. Start with a runnable request or use a Python or JavaScript SDK.
The API reference explains validation, rate limits, response fields, and how to display the score with its model version and data coverage.
Connect with MCP
Set up Portiqa in Claude, check ChatGPT availability, and try prompts for portfolio scoring and data coverage.
Endpoint and fieldsPortfolio analysis API reference
Authentication, the POST /evaluate request contract, response fields, diagnostics, rate limits, and error codes.
Portfolio analysis API code examples
Copyable cURL, Python, JavaScript, and PHP examples with safe environment-variable handling.
OpenAPI 3.1Machine-readable specification
Import the API contract into documentation generators, client tools, or your own test pipeline.
Postman collectionTest a request
Download a collection with base URL and API-key variables. It contains no credentials.
Python SDK · PyPIpip install portiqa
Dependency-free, typed Python client for Python 3.9 and newer. Source on GitHub.
JavaScript / TypeScript SDK · npmnpm install @portiqa/sdk
Typed server-side client for Node.js 18 and newer. Keep the API key on your server.
Open sourcePORTIQA on GitHub
SDK source code, runnable examples, the OpenAPI file and the Postman collection, with changelogs and issue tracking.
Install an SDK
pip install portiqa
npm install @portiqa/sdk
Both SDKs call POST https://portiqa.ai/evaluate and contain no scoring logic. Source: portiqa-python and portiqa-js. More examples: portiqa-api-examples.
Questions about an integration can be sent to hello@portiqa.ai. Security reports belong at hello@portiqa.ai.