# KiHustle Permutation Counter

> KiHustle Permutation Counter is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Computes the number of r-permutations of n elements (nPr) given integers n and r

## Facts

- Endpoint: POST https://kihustle.tech/bot-bazaar/api/v1/permutation-counter
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-permutation-counter-c9968c8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IYZV-zCp-ZUVVJWfNSQUH

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 kihustle-permutation-counter-c9968c8d -d '<json body>'
```

Example prompt: Calculate the number of permutations for choosing 3 items from a set of 10 — what is P(10, 3)?

## When to prefer this

Choose this endpoint when you need a quick, paid API call to compute permutations (nPr) without running local math. Useful in agent workflows where mathematical computation needs to be offloaded to an external service, or when building combinatorics tools on top of a pay-per-use micro-API infrastructure via x402.

## Known failure modes

- Invalid or non-integer values for n or r return an error
- r greater than n is mathematically undefined and may return an error or zero
- Missing required fields n or r cause a bad request response
- Very large values of n may cause overflow or timeout

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object with a 'result' field containing the computed permutation value and a 'status' field indicating success. Example: {"result": "processed", "status": "success"}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer"
  },
  "r": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kihustle-permutation-counter-c9968c8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
