{"uid":"cap_3MtvYu0gHx7HK-fv0Rl2i","slug":"httpay-gn-good-night-message-api-7e264422","name":"HTTPay GN (Good Night) Message API","description":"Get a GN (Good Night) message","url":"https://httpay.xyz/api/gn","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"description":"Get a GN (Good Night) message"}},"example":{"request":{"params":{"token":"USDC"},"endpoint":"token/price"},"response":{"gn":"GN. Remember: the market doesn't sleep, but you should. Your leveraged positions will be fine. Probably. 😴","meta":{"x402":true,"poweredBy":"Alfred Zhang 🫡"},"sleepQuality":"Comatose (already liquidated, nothing left to worry about)"}},"exampleRequest":{"params":{"token":"USDC"},"endpoint":"token/price"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uf_lzEVdRwuFstGVajf-n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a 'Good Night' (GN) greeting message, paid per-call via x402 USDC micropayment on Base.","exampleAgentPrompt":"Can you fetch me a Good Night message from the HTTPay GN API using a micropayment?","exampleUseCases":null,"resultDescription":"A JSON object containing a description or text of a 'Good Night' (GN) message, e.g. {\"description\": \"Get a GN (Good Night) message\"} or equivalent greeting content.","failureModes":["Payment not provided or insufficient USDC — returns HTTP 402 Payment Required","Invalid or missing x402 payment header — request rejected","Network timeout or server error — HTTP 500","Endpoint unavailable — HTTP 503"],"whenToPreferThis":"Use this endpoint when you want to retrieve a simple 'Good Night' greeting message programmatically without an API key, paying only $0.001 USDC per call via the x402 micropayment protocol on Base. Ideal for novelty, testing x402 pay-per-call flows, or embedding GN greetings in automated workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:42.067Z","isFirstParty":false}