canonical: https://jentic.com/apis/sandbox.moffin.mx/sandbox-moffin-mx

# Sandbox Moffin Mx Moffin API

Introduction Moffin allows you to validate and evaluate the credit profile of your clients in an instant. Consult and automatically evaluate their financial information. Moffin API is implemented as a [REST API](https://en.wikipedia.org/wiki/Representational_State_Transfer) architecture. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON responses, an. The API exposes 36 endpoints.

## For AI agents

Programmatically profiles_getbyid, profiles_updateprofile. Covers 36 operations.

## Scope

Does not handle payments, communications, or crm - use for ai and machine learning only.

## Capabilities

- Profiles_getById
- Profiles_updateProfile
- Profiles_createProfile
- Profiles_listWithPagination
- Profiles_createMultiple
- Profiles_queryProfileServices
- Profiles_getMoffinReducedInfo

## Use cases

### AI and Machine Learning Operations

Use the Moffin API to perform ai ml operations programmatically. The API provides 36 endpoints covering core functionality including profiles_getbyid, profiles_updateprofile, profiles_createprofile.

Example prompt: Call GET `/api/v1/profiles/{id}` to profiles_getbyid

### Automated Query data sources Management

Automate query data sources operations by combining multiple Moffin API endpoints. Agents can profiles_updateprofile and then profiles_createprofile in a single workflow.

Example prompt: Call PUT `/api/v1/profiles/{id}` to profiles_updateprofile, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Moffin API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle none tokens manually.

Example prompt: Search Jentic for 'profiles_getbyid', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/api/v1/profiles/{id}` | Profiles_getById |
| PUT | `/api/v1/profiles/{id}` | Profiles_updateProfile |
| POST | `/api/v1/profiles` | Profiles_createProfile |
| GET | `/api/v1/profiles` | Profiles_listWithPagination |
| POST | `/api/v1/profiles/info` | Profiles_createMultiple |
| POST | `/api/v1/profiles/{id}/query` | Profiles_queryProfileServices |
| GET | `/api/v1/profiles/{id}/info` | Profiles_getMoffinReducedInfo |
| GET | `/api/v1/report` | Reports_getData |

## Key resources

- **Query data sources** — Endpoints related to query a service
- **profiles** — Profile related end-points
- **form** — Operations related to form
- **formconfigs** — Operations related to formconfigs
- **forms** — Operations related to forms

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 16 / 100
- **Maturity:** Non-Ready
- **Dimensions:**
  - Foundational Compliance: 34 / 100
  - Developer Experience & Jentic Compatibility: 59 / 100
  - AI-Readiness & Agent Experience: 5 / 100
  - Agent Usability: 94 / 100
  - Security: 100 / 100
  - AI Discoverability: 100 / 100
- **View full report:** https://jentic.com/apis/sandbox.moffin.mx/sandbox-moffin-mx/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Moffin API by hand means reading the reference to map its profile and report endpoints on the sandbox or production moffin.mx host and handling paging and retries yourself. Through Jentic you install once, import Moffin from the API Directory, store the credentials once, and your agent calls it.
- **Permission scoping:** Moffin puts the profile id in the URL path (`/api/v1/profiles/{id}`), so a rule can pin your agent to specific profiles: it can read or update the ones you allow and nothing else. You choose the operations it may call, so writes like creating a profile are not included unless you add them.
- **Credential handling:** Your Moffin credentials are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'get a profile by id' or 'get a report', and Jentic returns the matching Moffin operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Openai** — Alternative ai ml API
- **Anthropic** — Alternative ai ml API
- **Cohere** — Complementary ai ml API
- **Huggingface** — Complementary ai ml API

## FAQ

### What authentication does the Moffin API use?

The Moffin API uses no authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I profiles_getbyid with the Moffin API?

Yes. Use the GET `/api/v1/profiles/{id}` endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Moffin API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I profiles_getbyid through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'profiles_getbyid'. Jentic returns the matching Moffin API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Moffin API have?

The Moffin API exposes 36 endpoints covering query data sources, profiles, form operations.

### Can I limit what my agent is allowed to do with the Moffin API?

Yes. Because Jentic One is self-hosted, you set the rules that decide which Moffin operations and credentials your agent may use. Moffin puts the profile id in the URL path (`/api/v1/profiles/{id}`), so you can pin the agent to specific profiles and let it only read (GET `/api/v1/profiles/{id}`) or update (PUT `/api/v1/profiles/{id}`) the ones you allow. You choose the operations it may call, so writes such as creating a profile or querying profile services stay off unless you explicitly grant them.
