NAME

Net::Async::WebSearch::Provider::Brave - Brave Search API provider

VERSION

version 0.002

SYNOPSIS

my $brave = Net::Async::WebSearch::Provider::Brave->new(
  api_key => $ENV{BRAVE_API_KEY},
);

DESCRIPTION

Provider for the Brave Search Web API. Parses the web.results array from the JSON response.

API KEY

Sign up at https://brave.com/search/api/. Free tier is now $5 in credits per month (roughly 1000 queries at the Search plan's $5 / 1000 rate). You must pick a plan even to use the free credits, and a credit card is required as an anti-fraud check — the card isn't billed while you stay within the credit allowance. API key is issued at https://api.search.brave.com/app/dashboard.

api_key

Required. Sent as X-Subscription-Token.

endpoint

Override the endpoint URL. Default https://api.search.brave.com/res/v1/web/search.

Honours limit (count), language (search_lang), region (country), safesearch.

SEE ALSO

https://brave.com/search/api/

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.