NAME
Net::Async::WebSearch::Provider::Exa - Exa neural search API provider
VERSION
version 0.003
SYNOPSIS
my $exa = Net::Async::WebSearch::Provider::Exa->new(
api_key => $ENV{EXA_API_KEY},
);
DESCRIPTION
Provider for https://exa.ai, a neural (embeddings-based) search API. Parses the results array from the JSON response. Snippet text is requested via contents.text in the POST body — without it Exa returns hits carrying no passage text at all.
API KEY
Sign up at https://dashboard.exa.ai. The API key is issued in the account dashboard and sent as the x-api-key request header.
api_key
Required. Sent as x-api-key.
endpoint
Override the endpoint URL. Default https://api.exa.ai/search.
search
Honours limit (numResults, 1-100). Exa has no native language, region or safesearch parameters, so those options are silently ignored. Always requests contents.text so results carry a snippet.
SEE ALSO
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-net-async-websearch/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> https://raudss.us/
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.