Curacel Products API

Everything about available Insurance Products

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

GET /v1/product-types List all product types #
GET /v1/products List available insurance products #
GET /v1/products/{id} Get a single insurance product #
GET /v1/products/{id}/field-options/{field_key} Get field options for a specific product ENUM field #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/curacel:curacel-products-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

curacel-products-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Curacel Grow API Docs Products API
  description: '# Introduction

    Curacel Grow is an embedded insurance that aims to drive insurance literacy and inclusion in Africa. This API allows developers, product owners, and business owners to tap into retail insurance by embedding insurance with their solutions, thereby offering customers tailored insurance to fit thier needs. This API gives you access to:


    - **Insurance**


    - **Custom**


    In this API reference, you''ll find all the information you need about each endpoint and resource. Tip: Make sure to also visit our Developer Portal for guides on Getting started with Grow, Setting up your environment, and Using our drop-in widget,


    ## Environment

    We currently offer two environments: sandbox and production. | Environment | Purpose | Access |

    |----------|-------|-------|

    | **Sandbox** | We''ve created a sandbox environment where you can test your API client code without incurring any costs. In this environment, you can create links without real credentials. No data is tampered with and you are able to thoroughly test API endpoints in test mode before going live. | Base URL (cURL): https://api.playbox.grow.curacel.co/api


    | **Production** | The Production environment is recommended for live applications that have direct connections to institutions. You will need real credentials to create links in this environment, and you will be pulling real data from the institutions.| Base URL (cURL): https://api.grow.curacel.co/api |


    Note

    You can''t create an application for live mode and sandbox using the same API key. We use the same endpoint structure, the only difference is the base URL. Therefore, for each environment, you''ll need to generate seperate API keys. ## HTTP Response status codes


    | Status Code | Description |

    | ----------- | ------- |

    | `1xx` | Informational. |

    | `2xx` | Successful - Everything worked as expected.|

    | `3xx` | Redirection messages. |

    | `4xx` | Client Error responses. |

    | `5xx` | Server error responses. |


    ## HTTP Response Status Codes Summary

    Curacel Grow uses the standard HTTP response codes to indicate if an API request was successful or not. | Status Code | Description |

    |-----------|-------|

    | `200` - **OK** | ✅ Everything worked perfectly.|

    | `201` - **Created** | ✅ As a result of the request''s success, a new resource was created. Most common use-case is in a POST request.|

    | `204` - **Success** | ✅ Although, the request was successful, no content to return by the server.|

    | `400` - **Bad Request** | ❌ The request was denied, usually because a required parameter was missing. |

    | `401` - **Unauthorized** | ❌ Unauthenticated because no valid API key was provided. |

    | `402` - **Request Failed**| ❌ The parameters were correct, however, the request did not succeed.|

    | `403` | ❌ The client does not have access rights to the content. |

    | `404` - **Not Found** | ❌ The server can not find the requested resource. The link may be correct, but the resource does not exist.|

    | `409` - **Conflict** | ❌ This response is sent when a request conflicts with the current state of the server.|

    | `422` - **Unprocessable Entity** | ❌ The request was well-formed, however, it couldn''t be carried out because of semantic flaws. |

    | `429` - **Too Many Requests** | ❌ The user has issued an excessive number of requests in a short period of time ("rate limiting"). |

    | `500`, `502`, `503`, `504` - **Server Errors** | ❌ Something went wrong on Curacels'' end. (These are rare.)


    Note that together with this response, a user-friendly page explaining the problem should be sent.|


    ## Error handling


    ### Error messages


    We don''t yet have any custom error codes, but errors would always contain one of the standard HTTP codes with a message in the payload. Curacel Grow API errors are returned in JSON format.'
  contact:
    name: Curacel Grow API Support
    email: grow@curacel.ai
    url: https://docs.curacel.co/
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://api.playbox.grow.curacel.co/api
  description: Sandbox
- url: https://api.grow.curacel.co/api
  description: Production
security:
- bearerAuth: []
tags:
- name: Products
  description: Everything about available Insurance Products
  x-displayName: Products
paths:
  /v1/product-types:
    get:
      tags:
      - Products
      summary: List all product types
      operationId: list-product-types
      description: Retrieves a list of all available insurance product types. Product types refer to the major categories of insurance e.g Health, Automobile, Life, Gadget, Goods in transit, etc
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ProductType'
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
  /v1/products:
    get:
      operationId: getProducts
      tags:
      - Products
      summary: List available insurance products
      description: This endpoint allows you to retrieve a list of available insurance products.
      parameters:
      - in: query
        name: q
        schema:
          type: string
        description: Any text supplied here would be used to search products by their names
      - in: query
        name: page
        schema:
          type: integer
          default: 1
        description: The page of results
      - in: query
        name: per_page
        schema:
          type: integer
          default: 20
        description: Maximum Number of results per page
      - in: query
        name: type
        schema:
          type: string
          enum:
          - health
          - 3rd_party_auto
          - comprehensive_auto
          - life
          - marine
          - git
          - credit_life
          - fire_burglary
          - gadget
          - job_loss
          - personal_accident
          - micro_health
          - travel
          - investment_life
          - investment
          - medical_malpractice
        description: 'Filter the products returned by product type. Must be the slug of one of the types as available on the product-types endpoint e.g health, auto, life, etcetera. <br/> This is required, if you wish to use the `''calculate-premium''` parameter listed below.

          ''auto'' is an alias'
      - in: query
        name: with
        schema:
          type: string
          enum:
          - cover_benefits
          - travel_plans
        description: Include additional information within the response. <br/> <em>**For Example:**</em> To add the cover benefits to the product result, the `with` parameter is valid for this use case.<br/> ``'?with=cover_benefits'``
      - in: query
        name: insurer_country
        schema:
          type: string
        description: Use this to limit the products to only the ones that are insured by companies based in the country specified. This accepts an [ISO alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
      - in: query
        name: travel_country
        schema:
          type: string
        description: For Travel products, use this parameter to limit the list to products that covers the country specified. This accepts an [ISO alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
      - in: query
        name: calculate_premium
        schema:
          type: integer
          enum:
          - 0
          - 1
          default: 0
        description: Set to 1 to calculate the premium value of the products returned. The `type` parameter must be supplied to use this parameter.
      - in: query
        name: asset_value
        schema:
          type: number
          format: float
        description: Value of the insured asset. May be required when `calculate_premium` is set to 1
      - in: query
        name: net_income
        schema:
          type: number
          format: float
        description: Employee's net monthly income
      - in: query
        name: trip_days_per_year
        schema:
          type: integer
          minimum: 1
          maximum: 365
        description: Number of days in a year that have trips (max of 365). Required for 'recuring' GIT products when `calculate_premium` is set to 1
      - in: query
        name: trips_per_day
        schema:
          type: integer
        description: Number of trips per day. Required for 'recuring' GIT products when `calculate_premium` is set to 1
      - in: query
        name: trip_frequency
        schema:
          type: string
          enum:
          - single
          - recurring
          default: recurring
        description: Frequency of trips. Required for GIT product when `calculate_premium` is set to 1
      - in: query
        name: loan_duration
        schema:
          type: integer
          maximum: 12
        description: Loan duration in months. Required for credit life products when `calculate_premium` is set to 1
      - in: query
        name: travel_duration
        schema:
          type: integer
          maximum: 12
        description: Travel duration in months. Required for travel products when `calculate_premium` is set to 1
      - in: query
        name: shipment_type
        schema:
          type: string
          enum:
          - import
          - export
        description: For marine products. Use this to limit the results to products that cover the specified shipment type.
      - in: query
        name: clause
        schema:
          type: string
          enum:
          - A
          - C
        description: For marine products. Use this to limit the results to products that cover the specified clause.
      - in: query
        name: age
        schema:
          type: integer
        description: The age of the policy holder. May be required for some product types when `calculate_premium` is set to 1
      - in: query
        name: beneficiaries
        schema:
          type: integer
        description: When attempting to calculate the premium of some products that require beneficiaries, please pass the total number of beneficiaries here.
      - in: query
        name: policy_start_date
        schema:
          type: string
          format: date
        description: When required, please provide the start date of the intended policy purchase here
      - in: query
        name: duration
        schema:
          type: integer
        description: Duration of the life cover or savings plan
      - in: query
        name: cover_amount
        schema:
          type: number
          format: float
        description: The life cover amount
      - in: query
        name: life_cover_amount
        schema:
          type: number
          format: float
        description: The life cover amount
      - in: query
        name: monthly_savings_amount
        schema:
          type: number
          format: float
        description: How much would be saved on monthly basis. Note that if a quarterly savings_frequency is chosen, then expected amount every quarter is monthly_savings_amount multiplied by 3. The same applies to other frequencies.
      - in: query
        name: savings_frequency
        schema:
          enum:
          - monthly
          - quarterly
          - half-yearly
          - yearly
          - one-off
        description: How often savings will be made until the duration is complete.
      - in: query
        name: occupation
        schema:
          type: string
        description: The medical practitioner's occupation. Required for medical malpractice products when `calculate_premium` is set to 1. Must be one of the valid options available for this product (use the field-options endpoint to get available options)
      - in: query
        name: indemnity_limit
        schema:
          type: number
          format: float
        description: The maximum amount that can be paid out for a single claim. Required for medical malpractice products when `calculate_premium` is set to 1
      - in: query
        name: aggregated_claim_limit
        schema:
          type: number
          format: float
        description: The maximum total amount that can be paid out for all claims during the policy period. Required for medical malpractice products when `calculate_premium` is set to 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Product'
                  links:
                    type: object
                    properties:
                      first:
                        type: string
                      last:
                        type: string
                      prev:
                        type: string
                      next:
                        type: string
        '422':
          description: Unprocessable Content
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
  /v1/products/{id}:
    get:
      operationId: getProductDetail
      tags:
      - Products
      summary: Get a single insurance product
      description: This endpoint allows you to get a product using it's id
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
        description: The ID of the product or the code of the product when the `using_product_code`  parameter is set to 1
      - in: query
        name: asset_value
        schema:
          type: number
        description: Required when `calculate_premium` is set to 1
      - in: query
        name: trip_days_per_year
        schema:
          type: integer
          minimum: 1
          maximum: 365
        description: Number of days in a year that have trips (max of 365). Required for 'recuring' GIT products when `calculate_premium` is set to 1
      - in: query
        name: trips_per_day
        schema:
          type: integer
        description: Number of trips per day. Required for 'recuring' GIT products when `calculate_premium` is set to 1
      - in: query
        name: trip_frequency
        schema:
          type: string
          enum:
          - single
          - recurring
          default: recurring
        description: Frequency of trips. Required for GIT product when `calculate_premium` is set to 1
      - in: query
        name: loan_duration
        schema:
          type: integer
          maximum: 12
        description: Loan duration in months. Required for credit life products when `calculate_premium` is set to 1
      - in: query
        name: travel_duration
        schema:
          type: integer
          maximum: 12
        description: Travel duration in months. Required for travel products when `calculate_premium` is set to 1
      - in: query
        name: calculate_premium
        schema:
          type: integer
          enum:
          - 0
          - 1
          default: 0
        description: Set to 1 to calculate the premium value of the product. This is only necessary for relative products such as Goods In Transit (GIT).
      - in: query
        name: using_product_code
        schema:
          type: integer
          enum:
          - 0
          - 1
        description: Must be one of 1,0. Ideally, you should only use this with the value set to 1 only when the `id` path contains the code of the product. Simply omit it when using the product's id.
      - in: query
        name: age
        schema:
          type: integer
        description: The age of the policy holder. May be required for some product types when `calculate_premium` is set to 1
      - in: query
        name: occupation
        schema:
          type: string
        description: The medical practitioner's occupation. Required for medical malpractice products when `calculate_premium` is set to 1. Must be one of the valid options available for this product (use the field-options endpoint to get available options)
      - in: query
        name: duration
        schema:
          type: integer
        description: Duration of the policy coverage in months. Required for medical malpractice products when `calculate_premium` is set to 1
      - in: query
        name: indemnity_limit
        schema:
          type: number
          format: float
        description: The maximum amount that can be paid out for a single claim. Required for medical malpractice products when `calculate_premium` is set to 1
      - in: query
        name: aggregated_claim_limit
        schema:
          type: number
          format: float
        description: The maximum total amount that can be paid out for all claims during the policy period. Required for medical malpractice products when `calculate_premium` is set to 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  data:
                    $ref: '#/components/schemas/Product'
        '404':
          description: 404 Not Found
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
  /v1/products/{id}/field-options/{field_key}:
    get:
      operationId: getProductFieldOptions
      tags:
      - Products
      summary: Get field options for a specific product ENUM field
      description: Retrieve the available options for a specific ENUM field of a product. This is useful for products that have fields with predefined options (e.g occupation for medical malpractice).These options should used to populate the dropdowns in the UI.
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
        description: The ID of the product or the code of the product when the `using_product_code` parameter is set to 1
      - in: path
        name: field_key
        required: true
        schema:
          type: string
        description: The key of the field for which to retrieve options (e.g., 'indemnity_limit', 'duration', 'occupation', 'aggregated_claim_limit')
      - in: query
        name: using_product_code
        schema:
          type: integer
          enum:
          - 0
          - 1
        description: Must be one of 1,0. Set to 1 when the `id` path parameter contains the product code instead of the product ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: object
                    properties:
                      field_key:
                        type: string
                        description: The field key for which options were retrieved
                      options:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              description: The option key/value
                            label:
                              type: string
                              description: The human-readable label for the option
                        description: Array of available options for the specified field
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
components:
  schemas:
    Insurer:
      properties:
        code:
          type: string
          description: The unique code of the insurer
        name:
          type: string
          description: The name of the insurer
        logo_url:
          type: string
          description: A link to the Insurer's logo
        terms_conditions:
          type: string
          description: Insurer's terms and conditions
      type: object
      description: An insurance provider
    Product:
      properties:
        title:
          type: string
          description: The name of the product
        code:
          type: string
          description: The unique identifier for technical purposes
        id:
          type: integer
          description: Unique Id of the product.
        insurer:
          $ref: '#/components/schemas/Insurer'
        product type:
          $ref: '#/components/schemas/ProductType'
        cover-benefits:
          type: object
          description: list of the nefits covered.
        created-at:
          type: string
          description: Date of product creation
        price:
          type: integer
          description: Price of product
        premium-type:
          type: string
          description: Define the product premium tier.
        premium-rate-unit:
          type: integer
        premium-rate:
          type: number
        premium:
          type: number
        partner-commision-rate:
          type: number
        min-premium:
          type: string
        premium-rules:
          type: string
        premium_frequency:
          type: string
          enum:
          - monthly
          - quarterly
          - annually
          default: annually
      type: object
      description: An individual insurance product or plan
    ProductType:
      properties:
        name:
          type: string
          description: The generally accepted human friendly name
        slug:
          type: string
          description: The unique identifier for technical purposes
      type: object
      description: A major category of insurance e.g Health, Automobile, Life, Gadget, Goods in transit, etc
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API KEY from your account dashboard