{"uid":"cap_4JBNDYeRw9vT4krtLreLJ","slug":"fastx402-lab-git-commit-convention-validator-c06bb979","name":"FastX402 Lab Git Commit Convention Validator","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/git-commit-convention?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["message","convention"],"properties":{"message":{"type":"string","description":"The commit message to validate"},"maxLength":{"type":"string","description":"Optional maximum subject line length (default 72)"},"convention":{"type":"string","description":"Convention name: conventional, angular, or custom regex pattern"},"allowedTypes":{"type":"string","description":"Optional comma-separated list of allowed types (for conventional/angular)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"type":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"subject":{"type":"string"},"breaking":{"type":"boolean"},"convention":{"type":"string"},"suggestions":{"type":"array","items":{}}}}}}}},"responseSchema":{"type":"json","example":{"type":"feat","scope":"auth","valid":true,"subject":"add OAuth2 support","breaking":false,"convention":"conventional","suggestions":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6hlIbzKGu--VnuTz3_Lew","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a git commit message against Conventional Commits, Angular, or a custom regex pattern, returning validation status, parsed type/scope, and improvement suggestions.","exampleAgentPrompt":"Can you validate this commit message against the conventional commits convention: 'feat(auth): add OAuth2 login support' — is it valid, and what type and scope does it detect?","exampleUseCases":[{"title":"CI pipeline commit message linting","prompt":"Before merging this PR, check if the commit message 'fix(cart): resolve null pointer on empty basket' is valid according to the conventional commits convention and flag any issues."},{"title":"Enforcing custom commit format on a team","prompt":"Validate the commit message 'JIRA-1234: update payment gateway timeout' against this custom regex pattern: '^[A-Z]+-[0-9]+: .+' and tell me if it passes."},{"title":"Fixing a malformed commit before pushing","prompt":"My commit message is 'updated stuff' — can you check it against the angular convention and give me suggestions on how to rewrite it properly?"}],"resultDescription":"Returns a JSON object with a boolean 'valid' field, the parsed 'type' (e.g. feat, fix), 'scope', 'subject', a 'breaking' boolean, the matched 'convention' name, and an array of 'suggestions' explaining any issues or improvements.","failureModes":["Missing required 'message' or 'convention' query parameters returns an error","Invalid or malformed custom regex pattern may cause a parsing error","Very long commit messages exceeding server limits may be rejected","Unsupported convention name (not 'conventional', 'angular', or a valid regex) may return an error response"],"whenToPreferThis":"Use this endpoint when you need programmatic, pay-per-call validation of git commit messages against Conventional Commits or Angular conventions without setting up a local linting tool. Ideal for CI/CD agents, PR review bots, or developer assistants that need instant commit message feedback and suggestions without installing dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:23:31.809Z","isFirstParty":false,"canonicalSlug":"fastx402-lab-git-commit-convention-validator-c06bb979"}