# Rafid Business Profitability Analysis

> Rafid Business Profitability Analysis is a paid API for AI agents from api.rafidsystem.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-10).

Computes profitability metrics for a business given cost, revenue, and sales inputs, returning structured analysis grounded in an Omani small-business guidebook.

## Facts

- Endpoint: POST https://api.rafidsystem.com/api/v1/x402/book/business-profitability-analysis?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rafid-business-profitability-analysis-8e1228be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hiJJ7wDiXO9iqcOcXosqO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability rafid-business-profitability-analysis-8e1228be -d '<json body>'
```

Example prompt: Run a profitability analysis for my small business in Oman: I sell 500 units per month at 12 OMR each, variable cost per unit is 6 OMR, monthly fixed costs are 800 OMR, marketing spend is 150 OMR, and other expenses are 50 OMR — give me the results in English.

## When to prefer this

Choose this endpoint when you need a structured, framework-backed profitability analysis for an Omani small business, especially when inputs are denominated in Omani Rials (OMR) and the output should reference a recognized local business guidebook. Prefer this over generic LLM-based financial calculations when you need traceable, citation-backed results in either Arabic or English aligned with Oman's SME context.

## Known failure modes

- Missing required numeric fields (unitsSold, sellingPriceOMR, monthlyFixedCostsOMR, variableCostPerUnitOMR) cause validation errors
- Values exceeding 1,000,000 OMR trigger maximum boundary violations
- Negative values for any cost or revenue field fail minimum (0) validation
- Invalid language enum value (not 'ar' or 'en') causes rejection
- Payment failure or insufficient USDC balance results in 402 Payment Required before analysis is run

## How this service works

Rafid Agent API provides structured intelligence and paid APIs for AI agents across property, company and risk, supplier, finance, document, website, automotive, logistics, recruitment, trading, voice, video and business-planning workflows.

## Output

Returns a structured JSON result containing a profitability analysis derived from a chapter of the Omani small-business guidebook ('كيف تبدأ مشروعك الصغير في عُمان؟', 2026 edition by Creative Techno), along with the framework source metadata (title, edition, publisher) and the response language tag. The result field contains computed financial intelligence referenced to the relevant book chapter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "language": {
   "enum": [
    "ar",
    "en"
   ],
   "type": "string",
   "default": "en"
  },
  "unitsSold": {
   "type": "number",
   "minimum": 0
  },
  "marketingOMR": {
   "type": "number",
   "default": 0,
   "maximum": 1000000,
   "minimum": 0,
   "description": "OMR; calculations use integer baisa internally"
  },
  "priorRevenueOMR": {
   "type": "number",
   "maximum": 1000000,
   "minimum": 0,
   "description": "OMR; calculations use integer baisa internally"
  },
  "sellingPriceOMR": {
   "type": "number",
   "maximum": 1000000,
   "minimum": 0,
   "description": "OMR; calculations use integer baisa internally"
  },
  "otherExpensesOMR": {
   "type": "number",
   "default": 0,
   "maximum": 1000000,
   "minimum": 0,
   "description": "OMR; calculations use integer baisa internally"
  },
  "monthlyFixedCostsOMR": {
   "type": "number",
   "maximum": 1000000,
   "minimum": 0,
   "description": "OMR; calculations use integer baisa internally"
  },
  "variableCostPerUnitOMR": {
   "type": "number",
   "maximum": 1000000,
   "minimum": 0,
   "description": "OMR; calculations use integer baisa internally"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "sourceChapter": "book"
  },
  "language": "en",
  "frameworkSource": {
   "title": "كيف تبدأ مشروعك الصغير في عُمان؟",
   "edition": "2026",
   "publisher": "Creative Techno"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rafid-business-profitability-analysis-8e1228be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.rafidsystem.com](https://www.zero.xyz/host/api.rafidsystem.com/llms.txt)
