INFONAVIT API
Tags |
---|
DEPRECATED
I will close this API on 2022-02-28T29:59:59Z−0800 because costs money and time which I don’t want to spend on this project: I’m tired. If you watch these docs after that date the API won’t work it.
Overview
Obtain credit from the Infonavit by NSS.
🕑 Average Latency ~12000 ms 🕑 Worst Latency ~15000 ms 🧑⚖️ Success Rate 80%
Getting started
- Log in and copy API Key.
- You either can test directly in your browser, use Postman, or use our sandbox. Remember substitute API Key.
Request
GET https://us-west4-arsus-production.cloudfunctions.net/infonavit
Parameters
Name | Description |
---|---|
nss | number 11 Security social number |
apiKey | string You need to sign up on https://sanchezcarlosjr.com for you to get it. |
birthday | string Date and time in UTC: YYYY-MM-DDT00:00:00Z ISO 8601 |
Response
If successful, this method returns a response body with the following structure:
{
"creditFromInfonavit": "number",
"housingSubAccountBalance": "number",
"operatingExpenses": "number",
"total": "number",
"mexicanName": "string",
"monthlySalaryDiscount": "number",
"product": "string",
"creditForEcotechnologies": "number"
}
Properties
Name | Description |
---|---|
creditFromInfonavit | number Monto de credito a otorgar. Moneda mexicana. |
housingSubAccountBalance | number Monto del Saldo de la Subcuenta de Vivienda. Moneda mexicana. |
operatingExpenses | number Monto de gastos de titulación, financieros y de operación. Moneda mexicana. |
total | number Total aproximado de crédito. Moneda mexicana. total = creditFromInfonavit + housingSubAccountBalance -operatingExpenses |
monthlySalaryDiscount | number El descuento mensual de su salario para el fondo de protección de pago, la cuota de administración, el pago de ecotecnologías, el monto de seguro y seguro de danos. Moneda mexicana. |
creditForEcotechnologies | number Monto máximo de crédito para ecotecnologías. Moneda mexicana. |
product | string CI, CII Numero de credito |
mexicanName | string |
Example Request
https://us-west4-arsus-production.cloudfunctions.net/infonavit?apiKey=pT32raieZC3&nss=69648001&birthday=1972-05-21T00:00:00.000Z
Example Success Response
{
"creditFromInfonavit": 316938.24,
"housingSubAccountBalance": 45218.87,
"operatingExpenses": 9508.14,
"total": 352648.97,
"monthlySalaryDiscount": 2668.86,
"creditForEcotechnologies": 15846.9,
"product": "CI"
}
Errors
The error messages that the API could return in response to a call to this method.
Error Type | Error detail | Description |
---|---|---|
forbidden (400) | forbidden | api key not found |
internalError (500) | internalError | |
PersonWithoutCreditError (401) | Person without credit | Examples: "nss no registrado en infonavit", "sin relacion laboral vigente en el tercer bimestre del 2020", "trabajador no tiene las ultimas aportaciones registradas", |
Contact
Reviews in Video YouTube Comments
Web on https://sanchezcarlosjr.com/
Do you have any questions, suggestions or issues?
Roadmap
Regions
https://us-west4-arsus-production.cloudfunctions.net/infonavit
https://us-central1-arsus-production.cloudfunctions.net/infonavit
FAQ
Does the API Key have a expire time?
No. It doesn't. You're free to use unlimited it. But, We don't responsible by bad use.
How can you help yourself, and me too? No money. Yes learning.
Do you want to learn about high computer science? Then subscribe to my Arsus Channel. Thank you so much.
Is this an open-source project?
Yes, this a open-source project on GitHub. Happy code!