I don't think open ai has released an api for ChatGPT specifically. Their official api seems to be serving GPT-3, which is pretty close (ChatGPT is GPT-3.5): Alternatively, others have reversed engineered the interna