# 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-10-21).

Computes the number of permutations P(n, r) — the count of ordered arrangements of r items chosen from a set of n items

## Facts

- Endpoint: POST https://kihustle.tech/nexus/api/v1/permutation-counter?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-permutation-counter-80908a6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pT6vlt5fSqAEVlkOPhMpT

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-80908a6d -d '<json body>'
```

Example prompt: Calculate the number of permutations when choosing 3 items from a set of 10 — so n is 10 and r is 3.

## When to prefer this

Choose this endpoint when you need a fast, cheap, paid API call to compute ordered permutation counts P(n,r) without implementing the factorial math yourself. Ideal for agents handling combinatorics, probability setup, puzzle solving, or contest logic that requires exact permutation values on demand.

## Known failure modes

- Invalid or missing n or r parameters — endpoint may return an error or unexpected result
- r greater than n — mathematically undefined permutation, likely returns an error
- Non-integer values for n or r — schema expects integers, non-integers may fail validation
- Negative integers — undefined for standard permutation formula, may cause computation error
- Very large n or r values — may cause integer 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 P(n,r) and a 'status' field confirming success. The result represents the total number of ordered arrangements of r items selected from a pool of n items.

## 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-80908a6d/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)
