Access Perplexity AI Via API

Live Script illustrating how to access Perplexity.AI API, open citation URLs, and create MATLAB codes.
9 Downloads
Updated 13 Mar 2025

View License

Perplexity.ai offers ChatGPT-like capabilities with hyperlinked citations to works used in formulating a response. This Live Script illustrates how to access the AI programmatically and browse the URLs of the citations. It also provides a few perplixity.ai prompts and generated codes. For related scripts, see Ref[1-12].

Cite As

Duncan Carlsmith (2025). Access Perplexity AI Via API (https://uk.mathworks.com/matlabcentral/fileexchange/180376-access-perplexity-ai-via-api), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Access DeepSeek AI via API

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

AcessPerplexityAIViaAPI folder

Version Published Release Notes
1.0.0