Moon Banking API
Query the Moon Banking API at https://api.moonbanking.com/v1 for data about every bank on Earth, as well as aggregated bank data at the world and country levels. Includes data about banks, countries, stories, votes, search, world overview, and more.
Setup & Authentication
Set the environment variable:
MOON_BANKING_API_KEY=your_api_key_here
(A Moon Banking Pro plan is required to get your API key. Once you have a plan, you can create an API key in your Moon Banking dashboard.)
Every request must include the header:
Authorization: Bearer $MOON_BANKING_API_KEY
Use exec with curl -s (silent mode) and pipe to jq for clean, readable JSON output.
If jq is not installed, remove | jq . — the agent can still parse raw JSON.
Standard curl pattern
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/ENDPOINT?param=value&another=val" | jq .
All Endpoints
1. /banks
This endpoint allows you to retrieve a paginated list of all banks. By default, a maximum of ten banks are shown per page. You can search banks by name, filter by country, sort them by various fields, and include related data like scores and country information.
Common params
limit (optional) - (1–100, default 10)
starting_after (optional)
ending_before (optional)
sortBy (optional) - (name, rank, countryRank, storiesCount, countryId, overall_score, overall_total, overall_up, overall_down, cryptoFriendly_score, cryptoFriendly_total, cryptoFriendly_up, cryptoFriendly_down, customerService_score, customerService_total, customerService_up, customerService_down, feesPricing_score, feesPricing_total, feesPricing_up, feesPricing_down, digitalExperience_score, digitalExperience_total, digitalExperience_up, digitalExperience_down, securityTrust_score, securityTrust_total, securityTrust_up, securityTrust_down, accountFeatures_score, accountFeatures_total, accountFeatures_up, accountFeatures_down, branchAtmAccess_score, branchAtmAccess_total, branchAtmAccess_up, branchAtmAccess_down, internationalBanking_score, internationalBanking_total, internationalBanking_up, internationalBanking_down, businessBanking_score, businessBanking_total, businessBanking_up, businessBanking_down, processingSpeed_score, processingSpeed_total, processingSpeed_up, processingSpeed_down, transparency_score, transparency_total, transparency_up, transparency_down, innovation_score, innovation_total, innovation_up, innovation_down, investmentServices_score, investmentServices_total, investmentServices_up, investmentServices_down, lending_score, lending_total, lending_up, lending_down)
sortOrder (optional) - (asc, desc)
Query params
search (optional)
include (optional) - (scores, country, meta)
countryId (optional)
countryCode (optional)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/banks?limit=10&search=ethical&sortBy=overall_score&sortOrder=desc&include=scores,country&countryCode=US" | jq .
/banks/by-hostname
This endpoint allows you to retrieve banks by hostname. It will return up to one bank per country that matches the provided hostname. The hostname is normalized (www. prefix removed if present) and matched against both the primary hostname and alternative hostnames.
Query params
hostname (required)
include (optional) - (scores, country)
pageTitle (optional)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/banks/by-hostname?hostname=fidelity.com&include=scores,country" | jq .
/banks/{id}
This endpoint allows you to retrieve a specific bank by providing the bank ID. You can include related data like scores and country information in the response.
Query params
include (optional) - (scores, country)
Path params
id (required)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/banks/6jkxE4N8gHXgDPK?include=scores,country" | jq .
2. /bank-votes
This endpoint allows you to retrieve a paginated list of bank votes. You can filter by bank ID, category, country, vote type (upvote or downvote), and other parameters.
Common params
limit (optional) - (1–100, default 10)
starting_after (optional)
ending_before (optional)
sortBy (optional) - (createdAt)
sortOrder (optional) - (asc, desc)
Query params
bankId (optional)
categories (optional)
isUp (optional)
countryCode (optional)
include (optional) - (bank, country)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/bank-votes?limit=10&bankId=bank_abc&isUp=true&countryCode=US&sortBy=createdAt&sortOrder=desc&include=scores,country" | jq .
3. /countries
This endpoint allows you to retrieve a paginated list of all countries. By default, a maximum of ten countries are shown per page. You can search countries by name or 2-letter code, sort them by various fields, and include related data like scores.
Common params
limit (optional) - (1–100, default 10)
starting_after (optional)
ending_before (optional)
sortBy (optional) - (name, code, rank, banksCount, storiesCount, overall_score, overall_total, overall_up, overall_down, cryptoFriendly_score, cryptoFriendly_total, cryptoFriendly_up, cryptoFriendly_down, customerService_score, customerService_total, customerService_up, customerService_down, feesPricing_score, feesPricing_total, feesPricing_up, feesPricing_down, digitalExperience_score, digitalExperience_total, digitalExperience_up, digitalExperience_down, securityTrust_score, securityTrust_total, securityTrust_up, securityTrust_down, accountFeatures_score, accountFeatures_total, accountFeatures_up, accountFeatures_down, branchAtmAccess_score, branchAtmAccess_total, branchAtmAccess_up, branchAtmAccess_down, internationalBanking_score, internationalBanking_total, internationalBanking_up, internationalBanking_down, businessBanking_score, businessBanking_total, businessBanking_up, businessBanking_down, processingSpeed_score, processingSpeed_total, processingSpeed_up, processingSpeed_down, transparency_score, transparency_total, transparency_up, transparency_down, innovation_score, innovation_total, innovation_up, innovation_down, investmentServices_score, investmentServices_total, investmentServices_up, investmentServices_down, lending_score, lending_total, lending_up, lending_down)
sortOrder (optional) - (asc, desc)
Query params
search (optional)
include (optional) - (scores)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/countries?limit=10&search=swiss&sortBy=overall_score&sortOrder=desc&include=scores" | jq .
/countries/{code}
This endpoint allows you to retrieve a specific country by providing the 2-letter ISO country code. You can include related data like scores in the response.
Query params
include (optional) - (scores)
Path params
code (required)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/countries/US?include=scores" | jq .
4. /stories
This endpoint allows you to retrieve a paginated list of all stories. By default, a maximum of ten stories are shown per page. You can search stories by text content, filter by bank ID, sort them by various fields, and include related data like bank and country information.
Common params
limit (optional) - (1–100, default 10)
starting_after (optional)
ending_before (optional)
sortBy (optional) - (createdAt, thumbsUpCount)
sortOrder (optional) - (asc, desc)
Query params
search (optional)
include (optional) - (bank, country)
countryCode (optional)
bankId (optional)
tags (optional)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/stories?limit=10&search=swiss&sortBy=createdAt&sortOrder=desc&include=bank,country&countryCode=US&bankId=bank_abc" | jq .
/stories/{id}
This endpoint allows you to retrieve a specific story by providing the story ID. You can include related data like bank and country information in the response.
Query params
include (optional) - (bank, country)
Path params
id (required)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/stories/8HsY5nBc7jAqM4u?include=bank,country" | jq .
5. /world
This endpoint allows you to retrieve global overview data that aggregates banks votes, stories and other data across all banks in all countries. You can include related data like scores in the response.
Query params
include (optional) - (scores)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/world?include=scores" | jq .
6. /search
Search across banks, countries, and stories. You can specify which entities to search using the include parameter. If no include value is provided, all entities will be searched.
Common params
limit (optional) - (1–50, default 10)
Query params
q (required)
include (optional) - (banks, countries, stories)
Example
curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
"https://api.moonbanking.com/v1/search?q=crypto+friendly+banks&include=banks,countries,stories&limit=15" | jq .
Best Practices & Tips
Use jq filters to extract useful fields, e.g.:
| jq '.data[] | {name, overall_score, rank, country?.name}'
Error handling:
- 401/403 → check or set
MOON_BANKING_API_KEY
- 404 → invalid ID or code
- 429 → rate limit (wait and retry)
Pagination: Use starting_after / ending_before from previous responses.
Always summarize results helpfully (top banks, country rankings, popular stories, etc.) instead of dumping raw JSON.
Chain multiple exec calls for complex questions.
Use this skill whenever questions or discussions involve bank information of any kind, including, but not limited to, rankings, reviews, country comparisons, customer experiences, or global banking insights.
1---
2name: moonbanking
3description: Full access to Moon Banking API endpoints for data about every bank on Earth, including stories, votes, scores, search, country overviews, world overview, crypto-friendliness, and more. Requires MOON_BANKING_API_KEY env var.
4homepage: https://docs.moonbanking.com/openclaw-skill
5requires:
6 env: ["MOON_BANKING_API_KEY"]
7metadata:
8 source: https://skillmd.com/skills/modbender/moonbanking
9 openclaw:
10 emoji: "💰"
11 requires:
12 env: ["MOON_BANKING_API_KEY"]
13 bins: ["curl", "jq"]
14 os: ["linux", "darwin", "win32"]
15 credentials:
16 primary:
17 key: MOON_BANKING_API_KEY
18 description: API key for authenticating requests to https://api.moonbanking.com/v1 (Moon Banking Pro plan required)
19 type: api_key
20 required: true
21 sensitive: true
22---
23
24# Moon Banking API
25
26Query the Moon Banking API at https://api.moonbanking.com/v1 for data about every bank on Earth, as well as aggregated bank data at the world and country levels. Includes data about banks, countries, stories, votes, search, world overview, and more.
27
28## Setup & Authentication
29
30- Set the environment variable:
31 `MOON_BANKING_API_KEY=your_api_key_here`
32 (A [Moon Banking Pro plan](https://moonbanking.com/pro) is required to get your API key. Once you have a plan, you can create an API key in your [Moon Banking dashboard](https://moonbanking.com/settings/api/manage-api-keys).)
33
34- Every request must include the header:
35 `Authorization: Bearer $MOON_BANKING_API_KEY`
36
37- Use `exec` with `curl -s` (silent mode) and pipe to `jq` for clean, readable JSON output.
38
39- If `jq` is not installed, remove `| jq .` — the agent can still parse raw JSON.
40
41### Standard curl pattern
42
43```bash
44curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
45 "https://api.moonbanking.com/v1/ENDPOINT?param=value&another=val" | jq .
46```
47
48## All Endpoints
49
50### 1. /banks
51This endpoint allows you to retrieve a paginated list of all banks. By default, a maximum of ten banks are shown per page. You can search banks by name, filter by country, sort them by various fields, and include related data like scores and country information.
52**Common params**
53- `limit` (optional) - (1–100, default 10)
54- `starting_after` (optional)
55- `ending_before` (optional)
56- `sortBy` (optional) - (name, rank, countryRank, storiesCount, countryId, overall_score, overall_total, overall_up, overall_down, cryptoFriendly_score, cryptoFriendly_total, cryptoFriendly_up, cryptoFriendly_down, customerService_score, customerService_total, customerService_up, customerService_down, feesPricing_score, feesPricing_total, feesPricing_up, feesPricing_down, digitalExperience_score, digitalExperience_total, digitalExperience_up, digitalExperience_down, securityTrust_score, securityTrust_total, securityTrust_up, securityTrust_down, accountFeatures_score, accountFeatures_total, accountFeatures_up, accountFeatures_down, branchAtmAccess_score, branchAtmAccess_total, branchAtmAccess_up, branchAtmAccess_down, internationalBanking_score, internationalBanking_total, internationalBanking_up, internationalBanking_down, businessBanking_score, businessBanking_total, businessBanking_up, businessBanking_down, processingSpeed_score, processingSpeed_total, processingSpeed_up, processingSpeed_down, transparency_score, transparency_total, transparency_up, transparency_down, innovation_score, innovation_total, innovation_up, innovation_down, investmentServices_score, investmentServices_total, investmentServices_up, investmentServices_down, lending_score, lending_total, lending_up, lending_down)
57- `sortOrder` (optional) - (asc, desc)
58**Query params**
59- `search` (optional)
60- `include` (optional) - (scores, country, meta)
61- `countryId` (optional)
62- `countryCode` (optional)
63**Example**
64```bash
65curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
66 "https://api.moonbanking.com/v1/banks?limit=10&search=ethical&sortBy=overall_score&sortOrder=desc&include=scores,country&countryCode=US" | jq .
67```
68
69### /banks/by-hostname
70This endpoint allows you to retrieve banks by hostname. It will return up to one bank per country that matches the provided hostname. The hostname is normalized (www. prefix removed if present) and matched against both the primary hostname and alternative hostnames.
71**Query params**
72- `hostname` (required)
73- `include` (optional) - (scores, country)
74- `pageTitle` (optional)
75**Example**
76```bash
77curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
78 "https://api.moonbanking.com/v1/banks/by-hostname?hostname=fidelity.com&include=scores,country" | jq .
79```
80
81### /banks/{id}
82This endpoint allows you to retrieve a specific bank by providing the bank ID. You can include related data like scores and country information in the response.
83**Query params**
84- `include` (optional) - (scores, country)
85**Path params**
86- `id` (required)
87**Example**
88```bash
89curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
90 "https://api.moonbanking.com/v1/banks/6jkxE4N8gHXgDPK?include=scores,country" | jq .
91```
92
93### 2. /bank-votes
94This endpoint allows you to retrieve a paginated list of bank votes. You can filter by bank ID, category, country, vote type (upvote or downvote), and other parameters.
95**Common params**
96- `limit` (optional) - (1–100, default 10)
97- `starting_after` (optional)
98- `ending_before` (optional)
99- `sortBy` (optional) - (createdAt)
100- `sortOrder` (optional) - (asc, desc)
101**Query params**
102- `bankId` (optional)
103- `categories` (optional)
104- `isUp` (optional)
105- `countryCode` (optional)
106- `include` (optional) - (bank, country)
107**Example**
108```bash
109curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
110 "https://api.moonbanking.com/v1/bank-votes?limit=10&bankId=bank_abc&isUp=true&countryCode=US&sortBy=createdAt&sortOrder=desc&include=scores,country" | jq .
111```
112
113### 3. /countries
114This endpoint allows you to retrieve a paginated list of all countries. By default, a maximum of ten countries are shown per page. You can search countries by name or 2-letter code, sort them by various fields, and include related data like scores.
115**Common params**
116- `limit` (optional) - (1–100, default 10)
117- `starting_after` (optional)
118- `ending_before` (optional)
119- `sortBy` (optional) - (name, code, rank, banksCount, storiesCount, overall_score, overall_total, overall_up, overall_down, cryptoFriendly_score, cryptoFriendly_total, cryptoFriendly_up, cryptoFriendly_down, customerService_score, customerService_total, customerService_up, customerService_down, feesPricing_score, feesPricing_total, feesPricing_up, feesPricing_down, digitalExperience_score, digitalExperience_total, digitalExperience_up, digitalExperience_down, securityTrust_score, securityTrust_total, securityTrust_up, securityTrust_down, accountFeatures_score, accountFeatures_total, accountFeatures_up, accountFeatures_down, branchAtmAccess_score, branchAtmAccess_total, branchAtmAccess_up, branchAtmAccess_down, internationalBanking_score, internationalBanking_total, internationalBanking_up, internationalBanking_down, businessBanking_score, businessBanking_total, businessBanking_up, businessBanking_down, processingSpeed_score, processingSpeed_total, processingSpeed_up, processingSpeed_down, transparency_score, transparency_total, transparency_up, transparency_down, innovation_score, innovation_total, innovation_up, innovation_down, investmentServices_score, investmentServices_total, investmentServices_up, investmentServices_down, lending_score, lending_total, lending_up, lending_down)
120- `sortOrder` (optional) - (asc, desc)
121**Query params**
122- `search` (optional)
123- `include` (optional) - (scores)
124**Example**
125```bash
126curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
127 "https://api.moonbanking.com/v1/countries?limit=10&search=swiss&sortBy=overall_score&sortOrder=desc&include=scores" | jq .
128```
129
130### /countries/{code}
131This endpoint allows you to retrieve a specific country by providing the 2-letter ISO country code. You can include related data like scores in the response.
132**Query params**
133- `include` (optional) - (scores)
134**Path params**
135- `code` (required)
136**Example**
137```bash
138curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
139 "https://api.moonbanking.com/v1/countries/US?include=scores" | jq .
140```
141
142### 4. /stories
143This endpoint allows you to retrieve a paginated list of all stories. By default, a maximum of ten stories are shown per page. You can search stories by text content, filter by bank ID, sort them by various fields, and include related data like bank and country information.
144**Common params**
145- `limit` (optional) - (1–100, default 10)
146- `starting_after` (optional)
147- `ending_before` (optional)
148- `sortBy` (optional) - (createdAt, thumbsUpCount)
149- `sortOrder` (optional) - (asc, desc)
150**Query params**
151- `search` (optional)
152- `include` (optional) - (bank, country)
153- `countryCode` (optional)
154- `bankId` (optional)
155- `tags` (optional)
156**Example**
157```bash
158curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
159 "https://api.moonbanking.com/v1/stories?limit=10&search=swiss&sortBy=createdAt&sortOrder=desc&include=bank,country&countryCode=US&bankId=bank_abc" | jq .
160```
161
162### /stories/{id}
163This endpoint allows you to retrieve a specific story by providing the story ID. You can include related data like bank and country information in the response.
164**Query params**
165- `include` (optional) - (bank, country)
166**Path params**
167- `id` (required)
168**Example**
169```bash
170curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
171 "https://api.moonbanking.com/v1/stories/8HsY5nBc7jAqM4u?include=bank,country" | jq .
172```
173
174### 5. /world
175This endpoint allows you to retrieve global overview data that aggregates banks votes, stories and other data across all banks in all countries. You can include related data like scores in the response.
176**Query params**
177- `include` (optional) - (scores)
178**Example**
179```bash
180curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
181 "https://api.moonbanking.com/v1/world?include=scores" | jq .
182```
183
184### 6. /search
185Search across banks, countries, and stories. You can specify which entities to search using the include parameter. If no include value is provided, all entities will be searched.
186**Common params**
187- `limit` (optional) - (1–50, default 10)
188**Query params**
189- `q` (required)
190- `include` (optional) - (banks, countries, stories)
191**Example**
192```bash
193curl -s -H "Authorization: Bearer $MOON_BANKING_API_KEY" \
194 "https://api.moonbanking.com/v1/search?q=crypto+friendly+banks&include=banks,countries,stories&limit=15" | jq .
195```
196
197## Best Practices & Tips
198
199- Use `jq` filters to extract useful fields, e.g.:
200 ```bash
201 | jq '.data[] | {name, overall_score, rank, country?.name}'
202 ```
203
204- Error handling:
205 - 401/403 → check or set `MOON_BANKING_API_KEY`
206 - 404 → invalid ID or code
207 - 429 → rate limit (wait and retry)
208
209- Pagination: Use `starting_after` / `ending_before` from previous responses.
210
211- Always summarize results helpfully (top banks, country rankings, popular stories, etc.) instead of dumping raw JSON.
212
213- Chain multiple `exec` calls for complex questions.
214
215Use this skill whenever questions or discussions involve bank information of any kind, including, but not limited to, rankings, reviews, country comparisons, customer experiences, or global banking insights.