Can I whitelist all IP addresses?

186 views
Skip to first unread message

Patrick Chasco

unread,
Nov 4, 2024, 4:17:34 AM11/4/24
to fatsecret Platform API
My hosting provider's network infrastructure does not guarantee that any hosted application will have a specific outgoing IP address (this is especially true when scaling out, because my container app may run on any number of machines in any AWS region). I want to avoid any issues with my backend API services being unable to reach Fatsecret due to it using a non-whitelisted IP address.

Can I allow all IP addresses with 0.0.0.0/0 and ::/0? I've seen others mention this but it is unclear whether this is allowed by Fatsecret based on the responses in the groups.

Mikael Tenshio

unread,
Nov 4, 2024, 5:25:34 PM11/4/24
to fatsecret Platform API
yes that is why it is recommended to use your server to request data in fatsecret so no matter how machine with different ip you use they all use your server to request data to fatsecret

Patrick Chasco

unread,
Nov 6, 2024, 6:52:43 PM11/6/24
to fatsecret Platform API
I do not think I made my question clear. The servers I use do not have permanent fixed IP addresses. I think I can whitelist all IP's though, so it should be OK.

Wasiq Shoaib

unread,
Apr 13, 2025, 7:49:34 PMApr 13
to fatsecret Platform API

this is a common concern when working with containerized apps on cloud platforms like AWS, where outbound IPs can change dynamically depending on region or scaling.

As of now, FatSecret does not officially restrict access based on the source IP for outbound requests to their API. So yes, in most cases, you can safely allow 0.0.0.0/0 and ::/0 as outbound rules in your security group or network configuration — especially if you’re consuming their API and not hosting a callback URL that FatSecret needs to reach.

However, if you're dealing with webhooks or need FatSecret to call your endpoint, then IP whitelisting could be more relevant — and in that case, you'd need a fixed IP (Elastic IP, NAT Gateway, etc.).

I was dealing with a similar network policy while setting up nutrition tracking with my team (right after ordering menu marugame udon, of course 😅) — and went with 0.0.0.0/0 temporarily. Everything worked smoothly, and no IP-related blocks from FatSecret were observed.

Still, for absolute confirmation, it’s worth emailing their support or checking with an official FatSecret rep.


Agar tu chahe toh isko ek forum post ya email draft me bhi convert kar deta hoon — just say the word 💡

Reply all
Reply to author
Forward
0 new messages