# Social Fetch API - Kwai endpoints # Base URL: https://api.socialfetch.dev # Auth: x-api-key header (sfk_...) # Full catalog: https://www.socialfetch.dev/llms-endpoints.txt | JSON: https://www.socialfetch.dev/llms.json # Docs hub: https://www.socialfetch.dev/docs/api | OpenAPI: https://www.socialfetch.dev/openapi.json 3 documented Kwai operations. Do not invent paths - only the routes below (and their linked markdown pages) are supported. ## GET /v1/kwai/profiles/{handle} Get Kwai profile Credit cost: 1 credit. Failed requests are free. Found, empty and not-found answers are all charged. Auth: API key or x402 payment (no key needed for payment) Docs: https://www.socialfetch.dev/docs/api/v1/kwai/profiles/handle/get.mdx SDK: client.kwai.getProfile({ handle: "Turma.resenha" }) Parameters: - handle (required, string) - Kwai id from the profile link, with or without a leading @, for example `KwaiBrasilOficial`. Outcome field: `data.lookupStatus` in `found`, `private`, `not_found` curl "https://api.socialfetch.dev/v1/kwai/profiles/Turma.resenha" \ -H "x-api-key: YOUR_API_KEY" ## GET /v1/kwai/profiles/{handle}/videos List Kwai profile videos Credit cost: 1 credit. Failed requests are free. Found, empty and not-found answers are all charged. Auth: API key or x402 payment (no key needed for payment) Docs: https://www.socialfetch.dev/docs/api/v1/kwai/profiles/handle/videos/get.mdx SDK: client.kwai.listProfileVideos({ handle: "Turma.resenha" }) Parameters: - handle (required, string) - Kwai id from the profile link, with or without a leading @, for example `KwaiBrasilOficial`. - cursor (optional, string) - Pass `page.nextCursor` from the previous response to get the next page. It only works with the same handle. Pagination: send query `cursor` from prior `data.page.nextCursor`; stop when `data.page.hasMore` is false. Outcome field: `data.lookupStatus` in `found`, `private`, `not_found` curl "https://api.socialfetch.dev/v1/kwai/profiles/Turma.resenha/videos" \ -H "x-api-key: YOUR_API_KEY" ## GET /v1/kwai/videos Get Kwai video Credit cost: 1 credit. Failed requests are free. Found, empty and not-found answers are all charged. Auth: API key or x402 payment (no key needed for payment) Docs: https://www.socialfetch.dev/docs/api/v1/kwai/videos/get.mdx SDK: client.kwai.getVideo({ url: "https://www.kwai.com/@KwaiBrasilOficial/video/5210533406984454491" }) Parameters: - url (required, string) - Link to the Kwai video, as in https://www.kwai.com/@KwaiBrasilOficial/video/5210533406984454491. Outcome field: `data.lookupStatus` in `found`, `not_found` curl "https://api.socialfetch.dev/v1/kwai/videos?url=https://www.kwai.com/@KwaiBrasilOficial/video/5210533406984454491" \ -H "x-api-key: YOUR_API_KEY"