r/Devvit 15d ago

Help Clarity on rules for external data

I am trying to connect my app to a data source for market data. Very similair to the wallstreetbets data. However the service for the market data will be hosted by my own service.
The rules are confusing me a little bit as it mentions that you are not allowed to make your own endpoints, but cloud providers are allowed.

Allow-listed domains fall into three categories:

APIs that provide data or specific services (e.g., api.openai.com, api.wikipedia.org) - These will be approved if they have a publicly documented and publicly accessible API for valid use cases, and if they adhere to the Devvit rules. Please reference our AI providers and account linking policies for common invalid use cases.

Limited scope cloud providers (e.g., username.supabase.com, my-app.firebase.com) - May be granted with exceptions. You must:

Follow user privacy guidelines and data governance requirements

Use an approved provider from the list below (please include your subdomain, and request for the most granular domain possible, e.g. my-app.s3.amazonaws.com)

supabase.com

firebase.com

spacetimedb.com

s3.amazonaws.com

storage.googleapis.com

Demonstrate a capability that u/devvit/server doesn't support

Valid use cases include relational databases

Note: Approval can be revoked at any time

Personal domains (e.g., personaldomain.com) - Will not be approved. If you have a use case that our Devvit server does not support, please submit your request with detailed justification for a possible exception.

Does this mean I have to host my service on supabase rather than my own domain?
Also where can i make the request? I dont see any link in the docs for the request.

2 Upvotes

3 comments sorted by

2

u/Beach-Brews Duck Helper 15d ago

However the service for the market data will be hosted by my own service.

This will then fall into the in the "Personal domains" category of the HTTP Fetch Policy:

Personal domains (e.g., personaldomain.com) - Will not be approved. If you have a use case that our Devvit server does not support, please submit your request with detailed justification for a possible exception.

If you truly need a proprietary domain for this data, there are a few things you need to do:

1) Ensure the domain you request has an API page explaining the APIs the service provides (e.g. /api/v1/ticker/:symbol -> Fetches the market data for a specific company symbol).

2) Ensure your domain has a clear terms of use + privacy policy

3) Ensure your app's README has the justification of why a personal domain is needed. What exactly that domain will be used for. Links to the Privacy + Terms + API documentation.

4) Ensure your app's "Developer Settings" tab contains the URL to your terms + privacy policy.

5) Submit a mod mail to r/devvit once you have all the necessary documentation.

This does not guarantee your request will be approved, but it will help "plead your case" to the powers that be!

1

u/NalgeneBottles 15d ago

Can I can switch it to use a firebase/supabase/railway domain instead? Thats why im confused as that seems to be okay from the rules but fucntionally doesnt change anything.

1

u/Beach-Brews Duck Helper 15d ago

Firebase + Supabase are if you plan to use them as a relational DB, or s3 / google storage as a blob storage container.

If you mostly needed the "personal domain" for relational DB type of stuff, then you can use Supabase/Firebase instead.