---
canonical_url: "https://docs.composio.dev/toolkits/0codekit"
markdown_url: "https://docs.composio.dev/toolkits/0codekit.md"
product: "platform"
version: null
last_updated: null
---

# 0CodeKit

0CodeKit provides utility APIs for AI, document and image processing, data conversion, validation, generation, storage, and automation workflows.

- **Category:** developer tools
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 8
- **Triggers:** 0
- **Slug:** `0CODEKIT`
- **Version:** 00000000_00

## Tools

### Calculate BMI

**Slug:** `0CODEKIT_CALCULATE_BMI`

Calculate body mass index and the provider's related desirable-weight, daily-energy, and nutrient estimates from weight in kilograms and height in centimeters. Each call consumes a 0CodeKit billing credit.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `height` | number | Yes | Height in centimeters. |
| `weight` | number | Yes | Body weight in kilograms. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Check Weekend

**Slug:** `0CODEKIT_CHECK_WEEKEND`

Determine whether a date is a weekend and return its weekday name and day number. The verified contract accepts a date in YYYY-MM-DD format. Each call consumes a 0CodeKit billing credit.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `date` | string | Yes | Date to check in YYYY-MM-DD format. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Convert Nation and ISO Code

**Slug:** `0CODEKIT_CONVERT_NATION_ISO`

Convert either an English country name to its ISO code or an ISO code to its English country name. Provide exactly one input. Each call consumes a 0CodeKit billing credit.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `iso` | string | No | Country ISO code to resolve, for example DE. Mutually exclusive with nation. |
| `nation` | string | No | English country name to resolve. Mutually exclusive with iso. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Find Keywords

**Slug:** `0CODEKIT_FIND_KEYWORDS`

Search text for one or more keywords and report whether each occurs and the zero-based positions of matches. Supports case-sensitive matching and complete-word-only matching. Each call consumes a 0CodeKit billing credit.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | Yes | Text to search. |
| `keywords` | array | Yes | Keywords to find. Use a one-item list for a single keyword. |
| `case_sensitive` | boolean | No | Whether letter case must match. |
| `only_complete_words` | boolean | No | Whether matches must be complete words rather than substrings. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Remaining Credits

**Slug:** `0CODEKIT_GET_REMAINING_CREDITS`

Return the number of 0CodeKit credits remaining for the connected API key. Use this before credit-metered work to check available quota; credits are billing quota, not an HTTP rate limit.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Hash Message

**Slug:** `0CODEKIT_HASH_MESSAGE`

Generate a cryptographic digest or HMAC for a text message using a supported algorithm. Supply secret_key only for an HMAC algorithm; this tool hashes data and does not encrypt it. Each call consumes a 0CodeKit billing credit.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `message` | string | Yes | Text to hash. |
| `hash_type` | string ("MD5" | "SHA1" | "SHA224" | "SHA256" | "SHA3" | "SHA384" | "SHA512" | "RIPEMD160" | "HmacMD5" | "HmacSHA1" | "HmacSHA224" | "HmacSHA256" | "HmacSHA3" | "HmacSHA384" | "HmacSHA512" | "HmacRIPEMD160") | Yes | Digest or HMAC algorithm accepted by 0CodeKit. |
| `secret_key` | string | No | Secret key for HMAC algorithms; omit for non-HMAC hashes. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Parse UTM Parameters

**Slug:** `0CODEKIT_PARSE_UTM_PARAMETERS`

Extract standard UTM campaign parameters from a URL. Only parameters present in the URL are returned. Each call consumes a 0CodeKit billing credit.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | URL whose utm_source, utm_medium, utm_campaign, utm_content, and utm_term query parameters should be extracted. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Validate Email

**Slug:** `0CODEKIT_VALIDATE_EMAIL`

Check an email address using 0CodeKit and return whether it is valid plus the provider's corrected-address value. Invalid addresses are normal successful results with valid=false. Each call consumes a 0CodeKit billing credit.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | Yes | Email address to validate. Malformed text is accepted so 0CodeKit can return valid=false. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
