-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakecom-blueprint.json
More file actions
300 lines (300 loc) · 10.2 KB
/
makecom-blueprint.json
File metadata and controls
300 lines (300 loc) · 10.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
{
"name": "Enrichr",
"label": "Enrichr",
"version": "1.0.0",
"description": "Micro-toll utility API warehouse — email enrichment, phone validation, IP geolocation, currency conversion, QR generation, slug creation, profanity filtering, and more. First 1,000 calls/month free.",
"baseUrl": "https://enrichrapi.dev",
"theme": "#6366F1",
"groups": [
{ "name": "Enrich", "label": "Data Enrichment" },
{ "name": "Validate", "label": "Validation" },
{ "name": "Generate", "label": "Generation" },
{ "name": "Convert", "label": "Conversion" },
{ "name": "Lookup", "label": "Lookup" },
{ "name": "Filter", "label": "Filter" }
],
"connection": {
"label": "API Key",
"help": "Get your free API key at https://enrichrapi.dev — first 1,000 calls/month are free.",
"type": "basic",
"fields": [
{
"name": "api_key",
"label": "API Key",
"type": "text",
"required": true,
"help": "Your Enrichr API key (starts with enr_)"
}
],
"validation": {
"url": "/v1/account/usage",
"method": "GET",
"headers": {
"X-Api-Key": "{{connection.api_key}}"
}
}
},
"modules": [
{
"name": "enrichEmail",
"label": "Enrich Email Address",
"description": "Validate an email address: checks format, MX records, and detects disposable addresses.",
"group": "Enrich",
"type": "action",
"url": "/v1/enrich/email",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": {
"email": "{{parameters.email}}"
},
"parameters": [
{
"name": "email",
"label": "Email Address",
"type": "email",
"required": true,
"help": "The email address to validate."
}
],
"output": {
"valid": "{{body.data.valid}}",
"format_ok": "{{body.data.format_ok}}",
"mx_ok": "{{body.data.mx_ok}}",
"disposable": "{{body.data.disposable}}",
"normalized": "{{body.data.normalized}}",
"domain": "{{body.data.domain}}",
"cost_usd": "{{body.cost_usd}}"
}
},
{
"name": "enrichPhone",
"label": "Enrich Phone Number",
"description": "Parse and validate a phone number. Returns E.164 format, national format, country code, and line type.",
"group": "Enrich",
"type": "action",
"url": "/v1/enrich/phone",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": {
"phone": "{{parameters.phone}}",
"country_hint": "{{parameters.country_hint}}"
},
"parameters": [
{
"name": "phone",
"label": "Phone Number",
"type": "text",
"required": true
},
{
"name": "country_hint",
"label": "Country Hint",
"type": "text",
"required": false,
"default": "US",
"help": "ISO 3166-1 alpha-2 country code (e.g. US, GB, DE)"
}
],
"output": {
"valid": "{{body.data.valid}}",
"e164": "{{body.data.e164}}",
"national": "{{body.data.national}}",
"country_code": "{{body.data.country_code}}",
"line_type": "{{body.data.line_type}}"
}
},
{
"name": "geolocateIp",
"label": "Geolocate IP Address",
"description": "Look up country, region, city, ISP, and timezone for an IP address.",
"group": "Enrich",
"type": "action",
"url": "/v1/enrich/ip",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": { "ip": "{{parameters.ip}}" },
"parameters": [
{ "name": "ip", "label": "IP Address", "type": "text", "required": true }
],
"output": {
"country": "{{body.data.country}}",
"country_code": "{{body.data.country_code}}",
"region": "{{body.data.region}}",
"city": "{{body.data.city}}",
"isp": "{{body.data.isp}}",
"timezone": "{{body.data.timezone}}",
"lat": "{{body.data.lat}}",
"lon": "{{body.data.lon}}"
}
},
{
"name": "classifyText",
"label": "Classify Text",
"description": "Detect sentiment, toxicity, spam likelihood, and language in text.",
"group": "Enrich",
"type": "action",
"url": "/v1/classify/text",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": { "text": "{{parameters.text}}" },
"parameters": [
{ "name": "text", "label": "Text", "type": "textarea", "required": true }
],
"output": {
"sentiment": "{{body.data.sentiment}}",
"sentiment_score": "{{body.data.sentiment_score}}",
"toxicity_score": "{{body.data.toxicity_score}}",
"spam_score": "{{body.data.spam_score}}",
"language": "{{body.data.language}}"
}
},
{
"name": "generateSlug",
"label": "Generate Slug",
"description": "Convert any text into a URL-safe slug. Handles Unicode (café → cafe).",
"group": "Generate",
"type": "action",
"url": "/v1/generate/slug",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": {
"text": "{{parameters.text}}",
"separator": "{{parameters.separator}}"
},
"parameters": [
{ "name": "text", "label": "Text", "type": "text", "required": true },
{
"name": "separator",
"label": "Separator",
"type": "select",
"required": false,
"default": "-",
"options": [
{ "label": "Hyphen (-)", "value": "-" },
{ "label": "Underscore (_)", "value": "_" },
{ "label": "Dot (.)", "value": "." }
]
}
],
"output": {
"slug": "{{body.data.slug}}",
"length": "{{body.data.length}}"
}
},
{
"name": "generateQr",
"label": "Generate QR Code",
"description": "Generate a QR code from any URL, text, or data. Returns base64 PNG and data URI.",
"group": "Generate",
"type": "action",
"url": "/v1/generate/qr",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": {
"content": "{{parameters.content}}",
"box_size": "{{parameters.box_size}}",
"border": "{{parameters.border}}"
},
"parameters": [
{ "name": "content", "label": "Content", "type": "textarea", "required": true, "help": "URL, text, vCard, etc." },
{ "name": "box_size", "label": "Box Size", "type": "number", "required": false, "default": 10 },
{ "name": "border", "label": "Border", "type": "number", "required": false, "default": 4 }
],
"output": {
"image": "{{body.data.image}}",
"data_uri": "{{body.data.data_uri}}"
}
},
{
"name": "convertCurrency",
"label": "Convert Currency",
"description": "Convert an amount between any two currencies using ECB rates (updated daily).",
"group": "Convert",
"type": "action",
"url": "/v1/convert/currency",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": {
"amount": "{{parameters.amount}}",
"from_currency": "{{parameters.from_currency}}",
"to_currency": "{{parameters.to_currency}}"
},
"parameters": [
{ "name": "amount", "label": "Amount", "type": "number", "required": true },
{ "name": "from_currency", "label": "From Currency", "type": "text", "required": true, "help": "ISO 4217 code, e.g. USD" },
{ "name": "to_currency", "label": "To Currency", "type": "text", "required": true, "help": "ISO 4217 code, e.g. EUR" }
],
"output": {
"result": "{{body.data.result}}",
"rate": "{{body.data.rate}}",
"from": "{{body.data.from}}",
"to": "{{body.data.to}}",
"date": "{{body.data.date}}"
}
},
{
"name": "validateCreditCard",
"label": "Validate Credit Card",
"description": "Luhn checksum + card network detection. Full number is never stored.",
"group": "Validate",
"type": "action",
"url": "/v1/validate/credit-card",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": { "number": "{{parameters.number}}" },
"parameters": [
{ "name": "number", "label": "Card Number", "type": "text", "required": true }
],
"output": {
"valid": "{{body.data.valid}}",
"network": "{{body.data.network}}",
"masked": "{{body.data.masked}}"
}
},
{
"name": "filterProfanity",
"label": "Filter Profanity",
"description": "Detect and censor profanity in text. Returns clean censored version.",
"group": "Filter",
"type": "action",
"url": "/v1/filter/profanity",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": { "text": "{{parameters.text}}" },
"parameters": [
{ "name": "text", "label": "Text", "type": "textarea", "required": true }
],
"output": {
"contains_profanity": "{{body.data.contains_profanity}}",
"censored": "{{body.data.censored}}",
"flagged_word_count": "{{body.data.flagged_word_count}}"
}
},
{
"name": "lookupPostal",
"label": "Lookup Postal Code",
"description": "Get city, state, and coordinates for a ZIP or postal code (60+ countries).",
"group": "Lookup",
"type": "action",
"url": "/v1/lookup/postal",
"method": "POST",
"headers": { "X-Api-Key": "{{connection.api_key}}" },
"body": {
"postal_code": "{{parameters.postal_code}}",
"country": "{{parameters.country}}"
},
"parameters": [
{ "name": "postal_code", "label": "Postal Code", "type": "text", "required": true },
{ "name": "country", "label": "Country", "type": "text", "required": false, "default": "US" }
],
"output": {
"valid": "{{body.data.valid}}",
"city": "{{body.data.city}}",
"state": "{{body.data.state}}",
"country": "{{body.data.country}}",
"lat": "{{body.data.lat}}",
"lon": "{{body.data.lon}}"
}
}
]
}