Skip to Content
APISDKsOverview

GPTfake SDKs

Official client libraries wrap the GPTfake REST API so you can pull live censorship and bias data in a few lines — they handle authentication, retries, and pagination for you. Two SDKs are supported.

At a glance

PythonJavaScript
Installpip install gptfake-sdknpm install @gptfake/sdk
Importfrom gptfake import GPTfakeClientimport { GPTfakeClient } from '@gptfake/sdk'
RuntimePython 3.8+Node 18+ / modern browsers (server-side keys only)

Both SDKs target the same endpoints and accept either an API key or an OAuth 2.0 access token.

Next steps