{"openapi":"3.1.0","info":{"title":"Mind the Mint API","description":"Heuristic risk screen for a Solana token mint using free public data (Solana RPC and public market data). Website checks are free for people, with no signup. The API requires a prepaid API key with USDC credits. Get a free trial key with 100 checks from POST /v1/trial-key. Open-source integrations can use a capped free tier with no key by sending an X-MTM-Integration header; see /docs#free-tier. Pay as you go is $0.05 per check, or $0.03 at 1,000+. The Builder plan is $29 USDC for 5,000 checks; credits expire 30 days after payment. POST /v1/quote with {\"plan\": \"builder\"} to get a Builder quote. Built by Erik Hill, an AI engineer. Not financial advice.","version":"0.3.0"},"servers":[{"url":"https://mindthemint.com"}],"paths":{"/v1/stats":{"get":{"summary":"Public Stats","description":"Aggregate check totals shown on the landing page (no keys, wallets of customers, or IPs).","operationId":"public_stats_v1_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/stats/history":{"get":{"summary":"Public Stats History","description":"Read-only daily history since launch for the live progress panel (UTC days, no keys or IPs).","operationId":"public_stats_history_v1_stats_history_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/score-history/{mint}":{"get":{"summary":"Public Score History","description":"Public ledger of past risk scores for one mint. No keys, IPs, or customer data.","operationId":"public_score_history_v1_score_history__mint__get","parameters":[{"name":"mint","in":"path","required":true,"schema":{"type":"string","minLength":32,"maxLength":48,"title":"Mint"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/payment-info":{"get":{"summary":"Payment Info","operationId":"payment_info_v1_payment_info_get","parameters":[{"name":"new","in":"query","required":false,"schema":{"type":"boolean","description":"If true, also create a quote (default 1 check).","default":false,"title":"New"},"description":"If true, also create a quote (default 1 check)."},{"name":"checks","in":"query","required":false,"schema":{"type":"integer","maximum":1000000,"minimum":1,"default":1,"title":"Checks"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/checkout-session":{"post":{"summary":"Create Checkout Session","description":"Start a Stripe Checkout Session for Builder or the 1,000-check pack.\n\nHidden unless card checkout is enabled. No API key is returned here. The\nkey is issued after payment (webhook or GET /v1/checkout-success) and\nshown on the success page during a short claim window.","operationId":"create_checkout_session_v1_checkout_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/checkout-success":{"get":{"summary":"Checkout Success","description":"Reveal the API key for a paid Checkout Session during the claim window.","operationId":"checkout_success_v1_checkout_success_get","parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/quote":{"post":{"summary":"Create Quote","operationId":"create_quote_v1_quote_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/quote/{quote_id}":{"get":{"summary":"Get Quote","operationId":"get_quote_v1_quote__quote_id__get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","title":"Quote Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/trial-key":{"post":{"summary":"Trial Key","description":"Free API trial: one key with 100 checks. Limited to 1 key per IP per 30 days and 50 new keys per UTC day.","operationId":"trial_key_v1_trial_key_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/credits":{"get":{"summary":"Credits","operationId":"credits_v1_credits_get","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/credits/stub-grant":{"post":{"summary":"Stub Grant","operationId":"stub_grant_v1_credits_stub_grant_post","parameters":[{"name":"credits","in":"query","required":true,"schema":{"type":"integer","title":"Credits"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/check/{mint}":{"get":{"summary":"Check Mint","description":"API check. Use a prepaid API key with credits (X-API-Key).\n\nOpen-source integrations may call without a key by naming themselves in the\nX-MTM-Integration header (or \"mtm-integration/<name>\" in the User-Agent).\nThat free tier is capped per network and per day; see /docs#free-tier.\n\nWebsite visitors should use the form at / instead. That path is free\nfor people, with a hidden anti-abuse rate limit.","operationId":"check_mint_v1_check__mint__get","parameters":[{"name":"mint","in":"path","required":true,"schema":{"type":"string","minLength":32,"maxLength":48,"title":"Mint"}},{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}},{"name":"X-MTM-Integration","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Mtm-Integration"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"CheckoutRequest":{"properties":{"kind":{"type":"string","title":"Kind","description":"Use \"builder\" or \"payg_pack\"."}},"type":"object","required":["kind"],"title":"CheckoutRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"QuoteRequest":{"properties":{"checks":{"anyOf":[{"type":"integer","maximum":1000000.0,"minimum":1.0},{"type":"null"}],"title":"Checks"},"plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan","description":"Use \"builder\" for the monthly Builder plan."}},"type":"object","title":"QuoteRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}