# fastapi.online — .gitignore File Generator

> fastapi.online — .gitignore File Generator is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Generates a .gitignore file tailored to a specified technology stack

## Facts

- Endpoint: POST https://api.fastapi.online/gitignore-generate
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-gitignore-file-generator-493f728c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EU_v1KyNyjxZ6d7ejYbEk

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 fastapi-online-gitignore-file-generator-493f728c -d '<json body>'
```

Example prompt: Can you generate a .gitignore file for a Node.js and TypeScript project that uses Docker and environment variable files?

## When to prefer this

Choose this endpoint when you need a quick, tailored .gitignore file generated on-demand for a specific technology stack without maintaining your own templates. Useful in agent-driven project scaffolding workflows, especially when combined with other developer tool endpoints on the same platform. Preferred when crypto micropayment ($0.001 USDC) is acceptable and no signup overhead is desired.

## Known failure modes

- tech_stack field empty or missing — validation error returned
- tech_stack string exceeds 500 characters — rejected with validation error
- Unrecognized or misspelled tech stack names may result in generic or incomplete output
- Payment failure via x402 protocol — request not processed

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

Returns a .gitignore file as text content containing ignore patterns and rules appropriate for the specified tech stack, covering build artifacts, dependency directories, IDE files, environment secrets, and other files that should not be committed to version control.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tech_stack": {
   "type": "string",
   "maxLength": 500,
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-gitignore-file-generator-493f728c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
