AI Compare Ninja AI Compare Ninja

Compare AI tools. Use prompts and skills.

Language
EN

Write an API reference people can use right away

Prompt that turns code and examples into a per-endpoint reference with error codes and working calls. Paste it into an AI tool of your choice, which then writes the API reference.

Topic
Apps & prototypes
Type
Prompt
Level
Intermediate
Time
about 10 min

Results depend on the tool, the model and what you enter.

Result preview

Example: written by our editors, not real AI output.

## POST /orders Creates an order. | Field | Type | Required | Note | | customer_id | string | yes | from GET /customers | | items | list | yes | at least 1 | | coupon | string | no | upper case | Errors: 409 = coupon already used → resend without coupon Open question: does the limit of 100 calls per minute apply per key or per account?

Fill in

What you type stays in this browser window. We store and send nothing.

Which API is it?
What do you have?
Who reads the reference?

Your prompt

This is an instruction for an AI, not the result itself.

Where this prompt works

These AI tools are a good fit for this prompt:

How to use it

  1. Fill in the fields or tap a suggestion. Leave out names, addresses and other personal data.
  2. Copy the finished prompt into an AI tool of your choice.
  3. Give only the reference to someone who does not know the API. If they make a first successful call without asking, the reference is good.

Why does this work?

References rarely fail because endpoints are missing. They fail on missing error codes, unclear required fields and examples that do not run. A fixed structure per endpoint, plus open questions instead of guessed answers, makes them reliable.

Tips

  • Replace keys, tokens and customer data in examples with placeholders before you put material into the AI tool.

Also a good fit

You may use our prompts freely, including at work. Please do not republish them as your own collection. We give no warranty for AI results; check them yourself. Terms of use