{
"thread": {
"designation": "M6x1",
"system": "metric",
"series": "coarse",
"size": "M6",
"nominalDiameter": {
"mm": 6,
"in": 0.2362
},
"pitch": {
"mm": 1,
"in": 0.0394
},
"threadsPerInch": 25.4,
"standard": true,
"alsoWritten": "M6",
"basicProfile": {
"majorDiameter": {
"mm": 6,
"in": 0.2362
},
"pitchDiameter": {
"mm": 5.35,
"in": 0.2106
},
"minorDiameterInternal": {
"mm": 4.917,
"in": 0.1936
},
"minorDiameterExternal": {
"mm": 4.773,
"in": 0.1879
},
"threadDepthInternal": {
"mm": 0.541,
"in": 0.0213
},
"threadDepthExternal": {
"mm": 0.613,
"in": 0.0242
},
"fundamentalTriangleHeight": {
"mm": 0.866,
"in": 0.0341
}
},
"tapDrill": {
"percentRequested": 75,
"idealDiameter": {
"mm": 5.026,
"in": 0.1979
},
"recommended": {
"name": "5.0 mm",
"family": "metric",
"mm": 5,
"in": 0.1969,
"percentThread": 77
},
"otherSystem": {
"name": "#8",
"family": "number",
"mm": 5.055,
"in": 0.199,
"percentThread": 72.7
},
"basicMinorDiameterInternal": {
"mm": 4.917,
"in": 0.1936
},
"note": "Percent of thread = (major diameter − drill) ÷ (1.299 × pitch). 65-75% suits most work; 50-60% for hard or tough materials and deep holes; up to 80% in soft materials and thin sheet. Thread-forming (roll) taps need a larger hole."
},
"clearanceHole": {
"available": true,
"basis": "iso273",
"close": {
"mm": 6.4,
"in": 0.252,
"inchBit": {
"name": "F",
"family": "letter",
"mm": 6.528,
"in": 0.257
}
},
"normal": {
"mm": 6.6,
"in": 0.2598,
"inchBit": {
"name": "G",
"family": "letter",
"mm": 6.629,
"in": 0.261
}
},
"loose": {
"mm": 7,
"in": 0.2756,
"inchBit": {
"name": "J",
"family": "letter",
"mm": 7.036,
"in": 0.277
}
},
"note": "close, normal and loose are the standard's fine, medium and coarse series. inchBit is the smallest inch bit at or above the hole, if you only have inch drills."
},
"hex": {
"wrench": {
"mm": 10,
"in": 0.3937
},
"hexKey": {
"mm": 5
}
},
"sameSize": [
"M6x0.75"
]
},
"disclaimer": "Reference values computed from the basic thread profiles and common shop practice; not for safety-critical design. Tolerance classes, materials and tap makers' recommendations change the right hole size: check the standard, the fastener maker's data and a test piece before production."
}
curl --location --request GET 'https://zylalabs.com/api/14694/screw+thread+and+tap+drill+api/37985/everything+about+one+thread&designation=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"thread": {
"designation": "1/4-20 UNC",
"system": "inch",
"series": "UNC",
"size": "1/4",
"nominalDiameter": {
"mm": 6.35,
"in": 0.25
},
"pitch": {
"mm": 1.27,
"in": 0.05
},
"threadsPerInch": 20,
"standard": true,
"basicProfile": {
"majorDiameter": {
"mm": 6.35,
"in": 0.25
},
"pitchDiameter": {
"mm": 5.525,
"in": 0.2175
},
"minorDiameterInternal": {
"mm": 4.975,
"in": 0.1959
},
"minorDiameterExternal": {
"mm": 4.838,
"in": 0.1905
},
"threadDepthInternal": {
"mm": 0.687,
"in": 0.0271
},
"threadDepthExternal": {
"mm": 0.756,
"in": 0.0298
},
"fundamentalTriangleHeight": {
"mm": 1.1,
"in": 0.0433
}
},
"tapDrill": {
"percentRequested": 75,
"idealDiameter": {
"mm": 5.113,
"in": 0.2013
},
"recommended": {
"name": "#7",
"family": "number",
"mm": 5.105,
"in": 0.201,
"percentThread": 75.5
},
"otherSystem": {
"name": "5.1 mm",
"family": "metric",
"mm": 5.1,
"in": 0.2008,
"percentThread": 75.8
},
"basicMinorDiameterInternal": {
"mm": 4.975,
"in": 0.1959
},
"note": "Percent of thread = (major diameter − drill) ÷ (1.299 × pitch). 65-75% suits most work; 50-60% for hard or tough materials and deep holes; up to 80% in soft materials and thin sheet. Thread-forming (roll) taps need a larger hole."
},
"clearanceHole": {
"available": true,
"basis": "rule",
"close": {
"mm": 6.528,
"in": 0.257,
"bit": {
"name": "F",
"family": "letter",
"mm": 6.528,
"in": 0.257
},
"metricBit": {
"name": "6.5 mm",
"family": "metric",
"mm": 6.5,
"in": 0.2559
}
},
"normal": {
"mm": 6.747,
"in": 0.2656,
"bit": {
"name": "17/64\"",
"family": "fractional",
"mm": 6.747,
"in": 0.265625
},
"metricBit": {
"name": "6.8 mm",
"family": "metric",
"mm": 6.8,
"in": 0.2677
}
},
"loose": {
"mm": 7.137,
"in": 0.281,
"bit": {
"name": "K",
"family": "letter",
"mm": 7.137,
"in": 0.281
},
"metricBit": {
"name": "7.2 mm",
"family": "metric",
"mm": 7.2,
"in": 0.2835
}
},
"note": "Common US shop practice: the smallest standard bit at or above d + 2% (close, at least 0.004 in), d + 6% (normal, at least 0.010 in) or d + 12% (loose, at least 0.020 in). Shops and tables differ by a bit size either way."
},
"hex": {
"wrench": {
"fraction": "7/16",
"in": 0.4375,
"mm": 11.112
},
"hexKey": {
"fraction": "3/16",
"in": 0.1875,
"mm": 4.762
}
},
"sameSize": [
"1/4-28 UNF",
"1/4-32 UNEF"
]
},
"disclaimer": "Reference values computed from the basic thread profiles and common shop practice; not for safety-critical design. Tolerance classes, materials and tap makers' recommendations change the right hole size: check the standard, the fastener maker's data and a test piece before production."
}
curl --location --request GET 'https://zylalabs.com/api/14694/screw+thread+and+tap+drill+api/37986/the+same+with+the+designation+as+a+query+parameter?designation=1/4-20' --header 'Authorization: Bearer YOUR_API_KEY'
{
"thread": {
"designation": "M8x1.25",
"system": "metric",
"series": "coarse",
"size": "M8",
"nominalDiameter": {
"mm": 8,
"in": 0.315
},
"pitch": {
"mm": 1.25,
"in": 0.0492
},
"threadsPerInch": 20.32,
"standard": true
},
"tapDrill": {
"percentRequested": 75,
"idealDiameter": {
"mm": 6.782,
"in": 0.267
},
"recommended": {
"name": "6.8 mm",
"family": "metric",
"mm": 6.8,
"in": 0.2677,
"percentThread": 73.9
},
"otherSystem": {
"name": "H",
"family": "letter",
"mm": 6.756,
"in": 0.266,
"percentThread": 76.6
},
"choices": [
{
"name": "7.1 mm",
"family": "metric",
"mm": 7.1,
"in": 0.2795,
"percentThread": 55.4
},
{
"name": "7.0 mm",
"family": "metric",
"mm": 7,
"in": 0.2756,
"percentThread": 61.6
},
{
"name": "6.9 mm",
"family": "metric",
"mm": 6.9,
"in": 0.2717,
"percentThread": 67.7
},
{
"name": "6.8 mm",
"family": "metric",
"mm": 6.8,
"in": 0.2677,
"percentThread": 73.9
},
{
"name": "6.7 mm",
"family": "metric",
"mm": 6.7,
"in": 0.2638,
"percentThread": 80.1
},
{
"name": "6.6 mm",
"family": "metric",
"mm": 6.6,
"in": 0.2598,
"percentThread": 86.2
}
],
"basicMinorDiameterInternal": {
"mm": 6.647,
"in": 0.2617
},
"note": "Percent of thread = (major diameter − drill) ÷ (1.299 × pitch). 65-75% suits most work; 50-60% for hard or tough materials and deep holes; up to 80% in soft materials and thin sheet. Thread-forming (roll) taps need a larger hole."
},
"disclaimer": "Reference values computed from the basic thread profiles and common shop practice; not for safety-critical design. Tolerance classes, materials and tap makers' recommendations change the right hole size: check the standard, the fastener maker's data and a test piece before production."
}
curl --location --request GET 'https://zylalabs.com/api/14694/screw+thread+and+tap+drill+api/37987/tap+drill+for+a+thread+and+percent+of+thread?thread=M8&percent=75' --header 'Authorization: Bearer YOUR_API_KEY'
{
"thread": {
"designation": "M10x1.5",
"system": "metric",
"series": "coarse",
"size": "M10",
"nominalDiameter": {
"mm": 10,
"in": 0.3937
},
"pitch": {
"mm": 1.5,
"in": 0.0591
},
"threadsPerInch": 16.933,
"standard": true
},
"clearanceHole": {
"fit": "close",
"hole": {
"mm": 10.5,
"in": 0.4134,
"inchBit": {
"name": "27/64\"",
"family": "fractional",
"mm": 10.716,
"in": 0.421875
}
},
"note": "close, normal and loose are the standard's fine, medium and coarse series. inchBit is the smallest inch bit at or above the hole, if you only have inch drills."
},
"hex": {
"wrench": {
"mm": 16,
"in": 0.6299
},
"hexKey": {
"mm": 8
},
"dinWrench": {
"mm": 17
},
"note": "Older DIN 931/933/934 parts use a 17 mm wrench."
},
"disclaimer": "Reference values computed from the basic thread profiles and common shop practice; not for safety-critical design. Tolerance classes, materials and tap makers' recommendations change the right hole size: check the standard, the fastener maker's data and a test piece before production."
}
curl --location --request GET 'https://zylalabs.com/api/14694/screw+thread+and+tap+drill+api/37988/clearance+holes+close+normal+loose+and+hex+sizes?thread=M10&fit=close' --header 'Authorization: Bearer YOUR_API_KEY'
{
"size": {
"mm": 5.1,
"in": 0.2008
},
"system": [
"fractional",
"number",
"letter",
"metric"
],
"nearest": {
"name": "5.1 mm",
"family": "metric",
"mm": 5.1,
"in": 0.2008,
"differenceMm": 0,
"differenceIn": 0
},
"nextSmaller": {
"name": "#8",
"family": "number",
"mm": 5.055,
"in": 0.199
},
"nextLarger": {
"name": "#7",
"family": "number",
"mm": 5.105,
"in": 0.201
},
"bySystem": {
"fractional": {
"name": "13/64\"",
"family": "fractional",
"mm": 5.159,
"in": 0.203125,
"differenceMm": 0.059,
"differenceIn": 0.0023
},
"number": {
"name": "#7",
"family": "number",
"mm": 5.105,
"in": 0.201,
"differenceMm": 0.005,
"differenceIn": 0.0002
},
"letter": {
"name": "A",
"family": "letter",
"mm": 5.944,
"in": 0.234,
"differenceMm": 0.844,
"differenceIn": 0.0332
},
"metric": {
"name": "5.1 mm",
"family": "metric",
"mm": 5.1,
"in": 0.2008,
"differenceMm": 0,
"differenceIn": 0
}
},
"disclaimer": "Reference values computed from the basic thread profiles and common shop practice; not for safety-critical design. Tolerance classes, materials and tap makers' recommendations change the right hole size: check the standard, the fastener maker's data and a test piece before production."
}
curl --location --request GET 'https://zylalabs.com/api/14694/screw+thread+and+tap+drill+api/37989/nearest+standard+drill+bit+to+a+size?size=5.1mm&unit=mm&system=all' --header 'Authorization: Bearer YOUR_API_KEY'
{
"found": true,
"drill": {
"name": "#7",
"family": "number",
"mm": 5.105,
"in": 0.201
},
"nearestInOtherSystem": {
"name": "5.1 mm",
"family": "metric",
"mm": 5.1,
"in": 0.2008,
"differenceMm": -0.005,
"differenceIn": -0.0002
},
"tapDrillFor": [
"1/4-20 UNC"
],
"disclaimer": "Reference values computed from the basic thread profiles and common shop practice; not for safety-critical design. Tolerance classes, materials and tap makers' recommendations change the right hole size: check the standard, the fastener maker's data and a test piece before production."
}
curl --location --request GET 'https://zylalabs.com/api/14694/screw+thread+and+tap+drill+api/37990/a+drill+bit+by+name+size+nearest+in+the+other+system+threads+it+taps&name=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{
"q": "1/4",
"diameter": {
"mm": 6.2,
"in": 0.2441
},
"count": 0,
"total": 0,
"threads": [],
"disclaimer": "Reference values computed from the basic thread profiles and common shop practice; not for safety-critical design. Tolerance classes, materials and tap makers' recommendations change the right hole size: check the standard, the fastener maker's data and a test piece before production."
}
curl --location --request GET 'https://zylalabs.com/api/14694/screw+thread+and+tap+drill+api/37991/find+threads+by+designation+text+or+by+diameter?q=1/4&diameter=6.2mm&unit=mm&system=metric&series=coarse' --header 'Authorization: Bearer YOUR_API_KEY'
{
"count": 0,
"threads": [],
"disclaimer": "Reference values computed from the basic thread profiles and common shop practice; not for safety-critical design. Tolerance classes, materials and tap makers' recommendations change the right hole size: check the standard, the fastener maker's data and a test piece before production."
}
curl --location --request GET 'https://zylalabs.com/api/14694/screw+thread+and+tap+drill+api/37992/every+standard+thread+compact+with+filters?system=metric&series=unc' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Screw Thread and Tap Drill API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Thread sizes, tap drills, clearance holes and nearest drill bits for metric and UNC/UNF screws.
The standard bit nearest the ideal hole for your percent of thread (default 75%), in the thread's own system, plus the nearest in the other system. Each comes with the percent of thread it really gives, and /tapdrill lists every bit from 50% to 90% so you can choose.
No. Major, pitch and minor diameters are computed from the basic thread profile formulas for every request, so non-standard pitches (M6x0.5) work too and are marked standard: false.
Not yet: the dimensions are basic sizes. A class written in the designation is accepted and ignored.
The smallest standard bit at or above the screw diameter plus 2% (close), 6% (normal) or 12% (loose), with small minimums. Metric holes follow the standard close, normal and loose series.
No. Each call is computed in memory and nothing is logged.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund