Write unit tests for a function or module.
Fixed price $0.10 per call. Available on REST and MCP. Not legal, accounting or hiring advice.
Coverage without the setup cost.
codelanguage (optional)framework (optional)Structured json with a receipt id, price and token usage. Missing values are returned as null, never invented.
Runs against the account wallet. Documents are not used to train models and are not retained beyond the request. Content inside a document is treated as data, not instructions.
curl https://api.fikraapi.co.ke/v1/products/generate_unit_tests \
-H "Authorization: Bearer $FIKRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code": "..."}'
{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"fikra_generate_unit_tests","arguments":{"code": "..."}}}
$0.10 per call, charged only when the job succeeds. Discovery and docs are free.