SlideShare a Scribd company logo
1 of 30
API’s
Successes to Replicate. Pitfalls to Avoid.
2017.01.16
New York
Peter Goldey
pete@witlytic.com
Real Estate API’s and me...
Real Estate tech in the 90’s...
pete@witlytic.com
@petergoldey
https://www.linkedin.com/in/p
etergoldey
public records / FOIA
10 Years of API’s @Onboard
2004 - Public Records
2005 - AVM
2008 - IDX Listings
2009 - Geography
2010 - Lifestlye Search
2011 - Area Search
2011 - Boundaries
2011 - Neighborhoods
2011 - Community / Schools
2011 - POI’s
2013 - Transit
2014 - Property API Suite
Founder
Things have changed…A LOT!
Have a Purpose
Ours was: Delivery Innovation
- recognized by Inman, RISmedia, RE Technology, 1000Watt.
Why did we take a commercial API approach?
- It gave us a vehicle for driving our business forward.
2011 Inman Connect
But we made lots of mistakes…
API’s are PRODUCTS
listen to customers, research, marketing, support,
customer feedback, relationship building, use cases,
analytics, stories, value propositions, documentation,
standards, utility, comprehensive testing, platform
management, pricing, security, PR, evangelism,
standards, reuse, stability, experience, purpose
API Users vs API Designers
Remember whom you are building for.
Tailor your API accordingly.
Internal?
External?
Developers? What kind?
Who the users are tells you a lot.
what they ask, what type of answers they expect, how they consume it, how often, etc
Me in 2004 - API Designer
Good looking
Naive
Knew the domain model REALLY well
Data expert
Designed for:
● Flexibility
● As many use cases as possible
Built it for myself
Assumptions
Over engineered Building our Nearby Home Sales XML service
The Awesomeness We Delivered
20+ parameters!
Multivariate interactions!!
Iterative search process!!!
Excellent parameter
documentation.
No restrictions!!
but we missed something big...
We didn’t figure out the Right Questions
Our Customers in 2005
API user says “Domain what?”
Frustrated
Busy
Lazy
Risk averse
What they wanted:
● Use case solutions
○ Find comps
○ Drip marketing
○ No Dead Ends!
Using our 1st Nearby Home Sales XML service
What we did next….
Auto-increment from radius1 and radius2
● Find nearest first. Ensure results.
Added prioritization
● Time vs. Distance
Added priceRangePercent
● Comps based on subject property
Added fuzzy logic for comps
● Best match beds, baths, $, sqft
Listened to clients. Understood their use cases. Made it easy.
Created dateAdded
● Drip marketing trigger
Created geography lookup for updates
● County level lastModified
Created queryID and “requery” method.
● Saved searches method
Added system and per account defaults
● Light weight. Central control.
The Results?
Happy clients. (more $$)
“Better” usage. (save $$’s)
Less implementation support. (save $$’s)
Product Management (control)
Happy internal engineers (culture)
New mindset: design for the API user!!!
Make is Useful!!
Why will these guys use your API?
They can find it (more on this later).
It offers value (saves time or resources, cost,
features)
It looks “good” (quality, logic, use cases)
Easy to use (version stable*, build for users,
documentation, use features)
* we’re not all like Facebook!!
Make it Usable!!
You’re trying to extend your company’s reach.
Find the balance between:
technically sophisticated and simple + concise.
(see DO’s and DON’Ts)
Get it out there and ENGAGE!!
...and don’t build everything from scratch!
Leverage API proxy services and communities.
Get Listed - API Platforms
My favorite:
16k+ API’s
~150 real estate API’s
Zillow, Trulia, Placester, NYTimes, Onboard, CloudMLS, Retsly, CloudCMA, DotLoop,
StreetEasy, WalkScore, AgentRank, PropertyWala, FlexMLS, SimplyRETS, etc….
Make it Look Good!!
Have a Developer Portal
Make Signup Simple
Get to the “value conversation”!!
Have Great Documentation
Twilio, MailChimp, Django, Box
Provide Helpers
samples, SDKs, test tools, libraries
OR
Four Takeaways
Your API is a PRODUCT.
Design for the API User.
Simple. Concise. Usable.
Get to the Value Conversation.
pete@witlytic.com
@petergoldey
https://www.linkedin.com/in/petergoldey (keep going for DO’s and DON’Ts)
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DON’T just expose your domain model…
...DO design for INTENT
DO understand how clients will use the API
DO expose answers to API user’s questions
DON’T require them to be domain experts
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DON’T use custom when Standards exist!
DO build on HTTP (for quick and easy machine interpretation)
DO build on HTTPS (DON’T pass credentials in the open)
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DON’T use custom when Standards exist!
DO use RESTful standards - such as naming of resources as nouns
where it makes sense!
DO use RESTful HTTP verbs GET, PUT, POST and DELETE and
respect their qualities.
DON’T abuse GET and POST!!!
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DON’T use custom when Standards exist!
DO use JSON
DO add XML if you need to (if your API user’s work in Java or C tools, etc.)
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DON’T use custom when Standards exist!
DON’T limit error codes to 200 and 500
DO use standard error codes (where possible)
DO add to them (where needed and useful)
DO use the right category (200, 300, 400, 500)
DO supply as much detail as possible (e.g. box api)
DO include a requestID
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DON’T confuse Searching and Identifying!
DO provide multiple ways to search resources (API user intent)
A property as a sale, as a listing, as a location, etc.
DON’T provide multiple ways to identify resources
DO make identity unique
/properties/28199102
DO use redirection and refer to resources by canonical URL
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DON’T ignore CACHING! (we did - huge mistake)
Caching is going to happen, and it’s a GOOD thing - if you help it.
DO of course be smart with your own internal caching
DO allow your API users to cache results
Fast. Efficient. Inexpensive.
DON’T allow your API users to cache without control!!
Freshness and Visibility concerns
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DO address “freshness” directly. Make it EASY.
DON’T require API user’s to parse a full response to determine
freshness.
DO use (and respect) Validators
If-Modified-Since in requests
Last-Modified in responses
DO consider using ETags
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DON’T rely on POLLING! (if you have real estate data, you have
events)
DO bake events into your API
DO create event based resources
DO consider using REST hooks (subscription webhooks) so
developers can receive the latest data without polling.
MAYBE use Long Polling if you really need to.
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DON’T think only in terms of endpoints!
DON’T make them “search” again.
DO make it easy for API users to find the next resource.
DO use hypermedia controls to provide meaningful links between
resources
DO use canonical urls as resource identifiers
DO use hyperlinks to reference external resources and
information (that’s what they are for!)
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DO publish a change log. Period.
DO be internally consistent
DO use the same parameter and method names across resources
DON’T use extensions as the only means of content
negotiation / selecting media types
DON’T introduce multiple URL aliases for the same resource
(confusing / ambiguous hypermedia controls)
Some DO’s and DON’Ts
* I’m just as biased as the next guy...there are times to break all the rules!
DO NOT use wrapper objects in your responses
They are redundant in a well designed API
DO NOT put metadata in the response body
DO put it where it belongs - in the HTTP response header
there are so many more...

More Related Content

Viewers also liked

The BIG Picture: Where does the market stand? Sarah Garrity
The BIG Picture: Where does the market stand? Sarah GarrityThe BIG Picture: Where does the market stand? Sarah Garrity
The BIG Picture: Where does the market stand? Sarah GarrityInman News
 
DDOS ACTIONS AND THE INTERNET OF THINGS
DDOS ACTIONS AND THE INTERNET OF THINGSDDOS ACTIONS AND THE INTERNET OF THINGS
DDOS ACTIONS AND THE INTERNET OF THINGSInman News
 
It's Broken. Let's Rework It. - Wendy Forsythe
It's Broken. Let's Rework It. - Wendy ForsytheIt's Broken. Let's Rework It. - Wendy Forsythe
It's Broken. Let's Rework It. - Wendy ForsytheInman News
 
Facebook Marketing Automation for Real Estate
Facebook Marketing Automation for Real EstateFacebook Marketing Automation for Real Estate
Facebook Marketing Automation for Real EstateInman News
 
Stop Ruining Your Reputation: The 15 Minute Digital Brand Detox - Laura Monroe
Stop Ruining Your Reputation: The 15 Minute Digital Brand Detox - Laura MonroeStop Ruining Your Reputation: The 15 Minute Digital Brand Detox - Laura Monroe
Stop Ruining Your Reputation: The 15 Minute Digital Brand Detox - Laura MonroeInman News
 
Blockchain Real Estate
Blockchain Real EstateBlockchain Real Estate
Blockchain Real EstateInman News
 
Machine Learning at Trulia
Machine Learning at TruliaMachine Learning at Trulia
Machine Learning at TruliaInman News
 
Stop Selling Like It's 1985 - Orlando Montiel
Stop Selling Like It's 1985 - Orlando MontielStop Selling Like It's 1985 - Orlando Montiel
Stop Selling Like It's 1985 - Orlando MontielInman News
 
Zillow Group's Product Roadmap
Zillow Group's Product RoadmapZillow Group's Product Roadmap
Zillow Group's Product RoadmapInman News
 
3 Sales Strategies to 3x Your Business - Jeff Lobb
3 Sales Strategies to 3x Your Business - Jeff Lobb3 Sales Strategies to 3x Your Business - Jeff Lobb
3 Sales Strategies to 3x Your Business - Jeff LobbInman News
 
What will tech VCs fund this year?
What will tech VCs fund this year? What will tech VCs fund this year?
What will tech VCs fund this year? Inman News
 
Conversational AI for Real Estate
Conversational AI for Real EstateConversational AI for Real Estate
Conversational AI for Real EstateInman News
 
How Computer Vision is Reshaping Real Estate Search - Andrew Flachner
How Computer Vision is Reshaping Real Estate Search - Andrew FlachnerHow Computer Vision is Reshaping Real Estate Search - Andrew Flachner
How Computer Vision is Reshaping Real Estate Search - Andrew FlachnerInman News
 
Converting Leads into Life Long Clients - Wendy Forsythe
Converting Leads into Life Long Clients - Wendy ForsytheConverting Leads into Life Long Clients - Wendy Forsythe
Converting Leads into Life Long Clients - Wendy ForsytheInman News
 
Luxury Connect - Dolly Lenz
Luxury Connect - Dolly LenzLuxury Connect - Dolly Lenz
Luxury Connect - Dolly LenzInman News
 
10 Tech Predictions that Will Impact Real Estate - Jeff Lobb
10 Tech Predictions that Will Impact Real Estate - Jeff Lobb10 Tech Predictions that Will Impact Real Estate - Jeff Lobb
10 Tech Predictions that Will Impact Real Estate - Jeff LobbInman News
 
Luxury Connect - Allan Weiss
Luxury Connect - Allan WeissLuxury Connect - Allan Weiss
Luxury Connect - Allan WeissInman News
 
Power of the Peloton - Building Your "Pack" to Accelerate Performance - Ginge...
Power of the Peloton - Building Your "Pack" to Accelerate Performance - Ginge...Power of the Peloton - Building Your "Pack" to Accelerate Performance - Ginge...
Power of the Peloton - Building Your "Pack" to Accelerate Performance - Ginge...Inman News
 
Mobile Innovation
Mobile InnovationMobile Innovation
Mobile InnovationInman News
 
VR Goes Mainstream: Why Aren’t You Using it? - Matt Leone
VR Goes Mainstream: Why Aren’t You Using it? - Matt LeoneVR Goes Mainstream: Why Aren’t You Using it? - Matt Leone
VR Goes Mainstream: Why Aren’t You Using it? - Matt LeoneInman News
 

Viewers also liked (20)

The BIG Picture: Where does the market stand? Sarah Garrity
The BIG Picture: Where does the market stand? Sarah GarrityThe BIG Picture: Where does the market stand? Sarah Garrity
The BIG Picture: Where does the market stand? Sarah Garrity
 
DDOS ACTIONS AND THE INTERNET OF THINGS
DDOS ACTIONS AND THE INTERNET OF THINGSDDOS ACTIONS AND THE INTERNET OF THINGS
DDOS ACTIONS AND THE INTERNET OF THINGS
 
It's Broken. Let's Rework It. - Wendy Forsythe
It's Broken. Let's Rework It. - Wendy ForsytheIt's Broken. Let's Rework It. - Wendy Forsythe
It's Broken. Let's Rework It. - Wendy Forsythe
 
Facebook Marketing Automation for Real Estate
Facebook Marketing Automation for Real EstateFacebook Marketing Automation for Real Estate
Facebook Marketing Automation for Real Estate
 
Stop Ruining Your Reputation: The 15 Minute Digital Brand Detox - Laura Monroe
Stop Ruining Your Reputation: The 15 Minute Digital Brand Detox - Laura MonroeStop Ruining Your Reputation: The 15 Minute Digital Brand Detox - Laura Monroe
Stop Ruining Your Reputation: The 15 Minute Digital Brand Detox - Laura Monroe
 
Blockchain Real Estate
Blockchain Real EstateBlockchain Real Estate
Blockchain Real Estate
 
Machine Learning at Trulia
Machine Learning at TruliaMachine Learning at Trulia
Machine Learning at Trulia
 
Stop Selling Like It's 1985 - Orlando Montiel
Stop Selling Like It's 1985 - Orlando MontielStop Selling Like It's 1985 - Orlando Montiel
Stop Selling Like It's 1985 - Orlando Montiel
 
Zillow Group's Product Roadmap
Zillow Group's Product RoadmapZillow Group's Product Roadmap
Zillow Group's Product Roadmap
 
3 Sales Strategies to 3x Your Business - Jeff Lobb
3 Sales Strategies to 3x Your Business - Jeff Lobb3 Sales Strategies to 3x Your Business - Jeff Lobb
3 Sales Strategies to 3x Your Business - Jeff Lobb
 
What will tech VCs fund this year?
What will tech VCs fund this year? What will tech VCs fund this year?
What will tech VCs fund this year?
 
Conversational AI for Real Estate
Conversational AI for Real EstateConversational AI for Real Estate
Conversational AI for Real Estate
 
How Computer Vision is Reshaping Real Estate Search - Andrew Flachner
How Computer Vision is Reshaping Real Estate Search - Andrew FlachnerHow Computer Vision is Reshaping Real Estate Search - Andrew Flachner
How Computer Vision is Reshaping Real Estate Search - Andrew Flachner
 
Converting Leads into Life Long Clients - Wendy Forsythe
Converting Leads into Life Long Clients - Wendy ForsytheConverting Leads into Life Long Clients - Wendy Forsythe
Converting Leads into Life Long Clients - Wendy Forsythe
 
Luxury Connect - Dolly Lenz
Luxury Connect - Dolly LenzLuxury Connect - Dolly Lenz
Luxury Connect - Dolly Lenz
 
10 Tech Predictions that Will Impact Real Estate - Jeff Lobb
10 Tech Predictions that Will Impact Real Estate - Jeff Lobb10 Tech Predictions that Will Impact Real Estate - Jeff Lobb
10 Tech Predictions that Will Impact Real Estate - Jeff Lobb
 
Luxury Connect - Allan Weiss
Luxury Connect - Allan WeissLuxury Connect - Allan Weiss
Luxury Connect - Allan Weiss
 
Power of the Peloton - Building Your "Pack" to Accelerate Performance - Ginge...
Power of the Peloton - Building Your "Pack" to Accelerate Performance - Ginge...Power of the Peloton - Building Your "Pack" to Accelerate Performance - Ginge...
Power of the Peloton - Building Your "Pack" to Accelerate Performance - Ginge...
 
Mobile Innovation
Mobile InnovationMobile Innovation
Mobile Innovation
 
VR Goes Mainstream: Why Aren’t You Using it? - Matt Leone
VR Goes Mainstream: Why Aren’t You Using it? - Matt LeoneVR Goes Mainstream: Why Aren’t You Using it? - Matt Leone
VR Goes Mainstream: Why Aren’t You Using it? - Matt Leone
 

Similar to API's - Successes to Replicate. Pitfalls to Avoid.

Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Twilio Inc
 
DevDay 2013 - Building Startups and Minimum Viable Products
DevDay 2013 - Building Startups and Minimum Viable ProductsDevDay 2013 - Building Startups and Minimum Viable Products
DevDay 2013 - Building Startups and Minimum Viable ProductsBen Hall
 
Building a REST API for Longevity
Building a REST API for LongevityBuilding a REST API for Longevity
Building a REST API for LongevityMuleSoft
 
API Introduction - API Management Workshop Munich from Ronnie Mitra
API Introduction - API Management Workshop Munich from Ronnie MitraAPI Introduction - API Management Workshop Munich from Ronnie Mitra
API Introduction - API Management Workshop Munich from Ronnie MitraCA API Management
 
Real World API Business Models That Worked
Real World API Business Models That WorkedReal World API Business Models That Worked
Real World API Business Models That WorkedProgrammableWeb
 
API Design Tour with Digital River and Apigee - June 26th, 2012
API Design Tour with Digital River and Apigee - June 26th, 2012API Design Tour with Digital River and Apigee - June 26th, 2012
API Design Tour with Digital River and Apigee - June 26th, 2012rubes_mn
 
Finding Anything: Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTankFinding Anything: Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTankYogiWanKenobi
 
Finding Anything: Real-time Search with IndexTank
Finding Anything:  Real-time Search with IndexTankFinding Anything:  Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTankYogiWanKenobi
 
API Marketing: First Comes Usability, Then Discoverability
API Marketing: First Comes Usability, Then DiscoverabilityAPI Marketing: First Comes Usability, Then Discoverability
API Marketing: First Comes Usability, Then DiscoverabilityBill Doerrfeld
 
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then DiscoverabilityLF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then DiscoverabilityLF_APIStrat
 
Lessons learned on the Azure API Stewardship Journey.pptx
Lessons learned on the Azure API Stewardship Journey.pptxLessons learned on the Azure API Stewardship Journey.pptx
Lessons learned on the Azure API Stewardship Journey.pptxapidays
 
Whitehat Linkbuilding Strategies Beginner To Advanced
Whitehat Linkbuilding Strategies Beginner To AdvancedWhitehat Linkbuilding Strategies Beginner To Advanced
Whitehat Linkbuilding Strategies Beginner To AdvancedAffiliate Summit
 
Robert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptxRobert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptxQA or the Highway
 
Chris Mathias Presents Advanced API Design Considerations at LA CTO Forum
Chris Mathias Presents Advanced API Design Considerations at LA CTO ForumChris Mathias Presents Advanced API Design Considerations at LA CTO Forum
Chris Mathias Presents Advanced API Design Considerations at LA CTO ForumChris Mathias
 
Building the Eventbrite API Ecosystem
Building the Eventbrite API EcosystemBuilding the Eventbrite API Ecosystem
Building the Eventbrite API EcosystemMitch Colleran
 
OrientDB Intro & HTTP REST API Tutorial
OrientDB Intro & HTTP REST API TutorialOrientDB Intro & HTTP REST API Tutorial
OrientDB Intro & HTTP REST API TutorialAnthony Blatner
 
Building Successful APIs Overnight - Orlando K - Codemotion Rome 2015
Building Successful APIs Overnight - Orlando K - Codemotion Rome 2015Building Successful APIs Overnight - Orlando K - Codemotion Rome 2015
Building Successful APIs Overnight - Orlando K - Codemotion Rome 2015Codemotion
 

Similar to API's - Successes to Replicate. Pitfalls to Avoid. (20)

Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010
 
DevDay 2013 - Building Startups and Minimum Viable Products
DevDay 2013 - Building Startups and Minimum Viable ProductsDevDay 2013 - Building Startups and Minimum Viable Products
DevDay 2013 - Building Startups and Minimum Viable Products
 
Building a REST API for Longevity
Building a REST API for LongevityBuilding a REST API for Longevity
Building a REST API for Longevity
 
API Design Tour: Digital River
API Design Tour: Digital RiverAPI Design Tour: Digital River
API Design Tour: Digital River
 
API Introduction - API Management Workshop Munich from Ronnie Mitra
API Introduction - API Management Workshop Munich from Ronnie MitraAPI Introduction - API Management Workshop Munich from Ronnie Mitra
API Introduction - API Management Workshop Munich from Ronnie Mitra
 
Real World API Business Models That Worked
Real World API Business Models That WorkedReal World API Business Models That Worked
Real World API Business Models That Worked
 
Mulesoft Raml APIs
Mulesoft Raml APIsMulesoft Raml APIs
Mulesoft Raml APIs
 
API Design Tour with Digital River and Apigee - June 26th, 2012
API Design Tour with Digital River and Apigee - June 26th, 2012API Design Tour with Digital River and Apigee - June 26th, 2012
API Design Tour with Digital River and Apigee - June 26th, 2012
 
Finding Anything: Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTankFinding Anything: Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTank
 
Finding Anything: Real-time Search with IndexTank
Finding Anything:  Real-time Search with IndexTankFinding Anything:  Real-time Search with IndexTank
Finding Anything: Real-time Search with IndexTank
 
API ARU-ARU
API ARU-ARUAPI ARU-ARU
API ARU-ARU
 
API Marketing: First Comes Usability, Then Discoverability
API Marketing: First Comes Usability, Then DiscoverabilityAPI Marketing: First Comes Usability, Then Discoverability
API Marketing: First Comes Usability, Then Discoverability
 
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then DiscoverabilityLF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
 
Lessons learned on the Azure API Stewardship Journey.pptx
Lessons learned on the Azure API Stewardship Journey.pptxLessons learned on the Azure API Stewardship Journey.pptx
Lessons learned on the Azure API Stewardship Journey.pptx
 
Whitehat Linkbuilding Strategies Beginner To Advanced
Whitehat Linkbuilding Strategies Beginner To AdvancedWhitehat Linkbuilding Strategies Beginner To Advanced
Whitehat Linkbuilding Strategies Beginner To Advanced
 
Robert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptxRobert Fornal - ChatGPT as a Testing Tool.pptx
Robert Fornal - ChatGPT as a Testing Tool.pptx
 
Chris Mathias Presents Advanced API Design Considerations at LA CTO Forum
Chris Mathias Presents Advanced API Design Considerations at LA CTO ForumChris Mathias Presents Advanced API Design Considerations at LA CTO Forum
Chris Mathias Presents Advanced API Design Considerations at LA CTO Forum
 
Building the Eventbrite API Ecosystem
Building the Eventbrite API EcosystemBuilding the Eventbrite API Ecosystem
Building the Eventbrite API Ecosystem
 
OrientDB Intro & HTTP REST API Tutorial
OrientDB Intro & HTTP REST API TutorialOrientDB Intro & HTTP REST API Tutorial
OrientDB Intro & HTTP REST API Tutorial
 
Building Successful APIs Overnight - Orlando K - Codemotion Rome 2015
Building Successful APIs Overnight - Orlando K - Codemotion Rome 2015Building Successful APIs Overnight - Orlando K - Codemotion Rome 2015
Building Successful APIs Overnight - Orlando K - Codemotion Rome 2015
 

More from Inman News

Talking Dollars and Cents: Agent Compensation
Talking Dollars and Cents: Agent CompensationTalking Dollars and Cents: Agent Compensation
Talking Dollars and Cents: Agent CompensationInman News
 
Zero Cost Strategies for Maximizing Facebook and Instagram
Zero Cost Strategies for Maximizing Facebook and InstagramZero Cost Strategies for Maximizing Facebook and Instagram
Zero Cost Strategies for Maximizing Facebook and InstagramInman News
 
Top 10 Non-Negotiable Fundamentals of A Successful Real Estate Agent
Top 10 Non-Negotiable Fundamentals of A Successful Real Estate AgentTop 10 Non-Negotiable Fundamentals of A Successful Real Estate Agent
Top 10 Non-Negotiable Fundamentals of A Successful Real Estate AgentInman News
 
Digging Deeper for an Authentic, Magnetic Brand
Digging Deeper for an Authentic, Magnetic BrandDigging Deeper for an Authentic, Magnetic Brand
Digging Deeper for an Authentic, Magnetic BrandInman News
 
FRANCHISE: Pro Tips on Media Relations to Drive Business Growth
FRANCHISE: Pro Tips on Media Relations to Drive Business Growth FRANCHISE: Pro Tips on Media Relations to Drive Business Growth
FRANCHISE: Pro Tips on Media Relations to Drive Business Growth Inman News
 
More Than Just Likes: A Blueprint for Your Social Media Spend in the New Market
More Than Just Likes: A Blueprint for Your Social Media Spend in the New MarketMore Than Just Likes: A Blueprint for Your Social Media Spend in the New Market
More Than Just Likes: A Blueprint for Your Social Media Spend in the New MarketInman News
 
Top 10 Trends Agents Need to Know in a Shifting Market
Top 10 Trends Agents Need to Know in a Shifting MarketTop 10 Trends Agents Need to Know in a Shifting Market
Top 10 Trends Agents Need to Know in a Shifting MarketInman News
 
By the Numbers: The True Cost of Opening a Brokerage
By the Numbers: The True Cost of Opening a BrokerageBy the Numbers: The True Cost of Opening a Brokerage
By the Numbers: The True Cost of Opening a BrokerageInman News
 
Competing with the Big Dogs: Recruiting Practices for Small Indies
Competing with the Big Dogs: Recruiting Practices for Small IndiesCompeting with the Big Dogs: Recruiting Practices for Small Indies
Competing with the Big Dogs: Recruiting Practices for Small IndiesInman News
 
How to Grow Your Agents’ Businesses by Over 300% Year One
How to Grow Your Agents’ Businesses by Over 300% Year OneHow to Grow Your Agents’ Businesses by Over 300% Year One
How to Grow Your Agents’ Businesses by Over 300% Year OneInman News
 
8 marketing tools that won't break the budget
8 marketing tools that won't break the budget8 marketing tools that won't break the budget
8 marketing tools that won't break the budgetInman News
 
Finding your sweet spot - building a brand that sticks
Finding your sweet spot - building a brand that sticksFinding your sweet spot - building a brand that sticks
Finding your sweet spot - building a brand that sticksInman News
 
Connect 10x10: The trends affecting your brokerage
Connect 10x10: The trends affecting your brokerageConnect 10x10: The trends affecting your brokerage
Connect 10x10: The trends affecting your brokerageInman News
 
David vs. Goliath: What is your slingshot?
David vs. Goliath: What is your slingshot?David vs. Goliath: What is your slingshot?
David vs. Goliath: What is your slingshot?Inman News
 
10 Daily Habits That Will Take You from Rookie to Top Producer
10 Daily Habits That Will Take You from Rookie to Top Producer10 Daily Habits That Will Take You from Rookie to Top Producer
10 Daily Habits That Will Take You from Rookie to Top ProducerInman News
 
Connect 10 X 10: Trends You Cannot Ignore
Connect 10 X 10: Trends You Cannot IgnoreConnect 10 X 10: Trends You Cannot Ignore
Connect 10 X 10: Trends You Cannot IgnoreInman News
 
Success = Zooming Out and Reclaiming Your Life
Success = Zooming Out and Reclaiming Your LifeSuccess = Zooming Out and Reclaiming Your Life
Success = Zooming Out and Reclaiming Your LifeInman News
 
Zero Cost Marketing Tactics With Big ROI.
Zero Cost Marketing Tactics With Big ROI. Zero Cost Marketing Tactics With Big ROI.
Zero Cost Marketing Tactics With Big ROI. Inman News
 
10 Simple & Elegant Hacks
10 Simple & Elegant Hacks10 Simple & Elegant Hacks
10 Simple & Elegant HacksInman News
 
Opendoor: Zain Memon at ICNY
Opendoor: Zain Memon at ICNYOpendoor: Zain Memon at ICNY
Opendoor: Zain Memon at ICNYInman News
 

More from Inman News (20)

Talking Dollars and Cents: Agent Compensation
Talking Dollars and Cents: Agent CompensationTalking Dollars and Cents: Agent Compensation
Talking Dollars and Cents: Agent Compensation
 
Zero Cost Strategies for Maximizing Facebook and Instagram
Zero Cost Strategies for Maximizing Facebook and InstagramZero Cost Strategies for Maximizing Facebook and Instagram
Zero Cost Strategies for Maximizing Facebook and Instagram
 
Top 10 Non-Negotiable Fundamentals of A Successful Real Estate Agent
Top 10 Non-Negotiable Fundamentals of A Successful Real Estate AgentTop 10 Non-Negotiable Fundamentals of A Successful Real Estate Agent
Top 10 Non-Negotiable Fundamentals of A Successful Real Estate Agent
 
Digging Deeper for an Authentic, Magnetic Brand
Digging Deeper for an Authentic, Magnetic BrandDigging Deeper for an Authentic, Magnetic Brand
Digging Deeper for an Authentic, Magnetic Brand
 
FRANCHISE: Pro Tips on Media Relations to Drive Business Growth
FRANCHISE: Pro Tips on Media Relations to Drive Business Growth FRANCHISE: Pro Tips on Media Relations to Drive Business Growth
FRANCHISE: Pro Tips on Media Relations to Drive Business Growth
 
More Than Just Likes: A Blueprint for Your Social Media Spend in the New Market
More Than Just Likes: A Blueprint for Your Social Media Spend in the New MarketMore Than Just Likes: A Blueprint for Your Social Media Spend in the New Market
More Than Just Likes: A Blueprint for Your Social Media Spend in the New Market
 
Top 10 Trends Agents Need to Know in a Shifting Market
Top 10 Trends Agents Need to Know in a Shifting MarketTop 10 Trends Agents Need to Know in a Shifting Market
Top 10 Trends Agents Need to Know in a Shifting Market
 
By the Numbers: The True Cost of Opening a Brokerage
By the Numbers: The True Cost of Opening a BrokerageBy the Numbers: The True Cost of Opening a Brokerage
By the Numbers: The True Cost of Opening a Brokerage
 
Competing with the Big Dogs: Recruiting Practices for Small Indies
Competing with the Big Dogs: Recruiting Practices for Small IndiesCompeting with the Big Dogs: Recruiting Practices for Small Indies
Competing with the Big Dogs: Recruiting Practices for Small Indies
 
How to Grow Your Agents’ Businesses by Over 300% Year One
How to Grow Your Agents’ Businesses by Over 300% Year OneHow to Grow Your Agents’ Businesses by Over 300% Year One
How to Grow Your Agents’ Businesses by Over 300% Year One
 
8 marketing tools that won't break the budget
8 marketing tools that won't break the budget8 marketing tools that won't break the budget
8 marketing tools that won't break the budget
 
Finding your sweet spot - building a brand that sticks
Finding your sweet spot - building a brand that sticksFinding your sweet spot - building a brand that sticks
Finding your sweet spot - building a brand that sticks
 
Connect 10x10: The trends affecting your brokerage
Connect 10x10: The trends affecting your brokerageConnect 10x10: The trends affecting your brokerage
Connect 10x10: The trends affecting your brokerage
 
David vs. Goliath: What is your slingshot?
David vs. Goliath: What is your slingshot?David vs. Goliath: What is your slingshot?
David vs. Goliath: What is your slingshot?
 
10 Daily Habits That Will Take You from Rookie to Top Producer
10 Daily Habits That Will Take You from Rookie to Top Producer10 Daily Habits That Will Take You from Rookie to Top Producer
10 Daily Habits That Will Take You from Rookie to Top Producer
 
Connect 10 X 10: Trends You Cannot Ignore
Connect 10 X 10: Trends You Cannot IgnoreConnect 10 X 10: Trends You Cannot Ignore
Connect 10 X 10: Trends You Cannot Ignore
 
Success = Zooming Out and Reclaiming Your Life
Success = Zooming Out and Reclaiming Your LifeSuccess = Zooming Out and Reclaiming Your Life
Success = Zooming Out and Reclaiming Your Life
 
Zero Cost Marketing Tactics With Big ROI.
Zero Cost Marketing Tactics With Big ROI. Zero Cost Marketing Tactics With Big ROI.
Zero Cost Marketing Tactics With Big ROI.
 
10 Simple & Elegant Hacks
10 Simple & Elegant Hacks10 Simple & Elegant Hacks
10 Simple & Elegant Hacks
 
Opendoor: Zain Memon at ICNY
Opendoor: Zain Memon at ICNYOpendoor: Zain Memon at ICNY
Opendoor: Zain Memon at ICNY
 

Recently uploaded

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringWSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...caitlingebhard1
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governanceWSO2
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 

Recently uploaded (20)

CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

API's - Successes to Replicate. Pitfalls to Avoid.

  • 1. API’s Successes to Replicate. Pitfalls to Avoid. 2017.01.16 New York Peter Goldey pete@witlytic.com
  • 2. Real Estate API’s and me... Real Estate tech in the 90’s... pete@witlytic.com @petergoldey https://www.linkedin.com/in/p etergoldey public records / FOIA 10 Years of API’s @Onboard 2004 - Public Records 2005 - AVM 2008 - IDX Listings 2009 - Geography 2010 - Lifestlye Search 2011 - Area Search 2011 - Boundaries 2011 - Neighborhoods 2011 - Community / Schools 2011 - POI’s 2013 - Transit 2014 - Property API Suite Founder
  • 4. Have a Purpose Ours was: Delivery Innovation - recognized by Inman, RISmedia, RE Technology, 1000Watt. Why did we take a commercial API approach? - It gave us a vehicle for driving our business forward. 2011 Inman Connect But we made lots of mistakes…
  • 5. API’s are PRODUCTS listen to customers, research, marketing, support, customer feedback, relationship building, use cases, analytics, stories, value propositions, documentation, standards, utility, comprehensive testing, platform management, pricing, security, PR, evangelism, standards, reuse, stability, experience, purpose
  • 6. API Users vs API Designers Remember whom you are building for. Tailor your API accordingly. Internal? External? Developers? What kind? Who the users are tells you a lot. what they ask, what type of answers they expect, how they consume it, how often, etc
  • 7. Me in 2004 - API Designer Good looking Naive Knew the domain model REALLY well Data expert Designed for: ● Flexibility ● As many use cases as possible Built it for myself Assumptions Over engineered Building our Nearby Home Sales XML service
  • 8. The Awesomeness We Delivered 20+ parameters! Multivariate interactions!! Iterative search process!!! Excellent parameter documentation. No restrictions!! but we missed something big...
  • 9. We didn’t figure out the Right Questions
  • 10. Our Customers in 2005 API user says “Domain what?” Frustrated Busy Lazy Risk averse What they wanted: ● Use case solutions ○ Find comps ○ Drip marketing ○ No Dead Ends! Using our 1st Nearby Home Sales XML service
  • 11. What we did next…. Auto-increment from radius1 and radius2 ● Find nearest first. Ensure results. Added prioritization ● Time vs. Distance Added priceRangePercent ● Comps based on subject property Added fuzzy logic for comps ● Best match beds, baths, $, sqft Listened to clients. Understood their use cases. Made it easy. Created dateAdded ● Drip marketing trigger Created geography lookup for updates ● County level lastModified Created queryID and “requery” method. ● Saved searches method Added system and per account defaults ● Light weight. Central control.
  • 12. The Results? Happy clients. (more $$) “Better” usage. (save $$’s) Less implementation support. (save $$’s) Product Management (control) Happy internal engineers (culture) New mindset: design for the API user!!!
  • 13. Make is Useful!! Why will these guys use your API? They can find it (more on this later). It offers value (saves time or resources, cost, features) It looks “good” (quality, logic, use cases) Easy to use (version stable*, build for users, documentation, use features) * we’re not all like Facebook!!
  • 14. Make it Usable!! You’re trying to extend your company’s reach. Find the balance between: technically sophisticated and simple + concise. (see DO’s and DON’Ts)
  • 15. Get it out there and ENGAGE!! ...and don’t build everything from scratch! Leverage API proxy services and communities.
  • 16. Get Listed - API Platforms My favorite: 16k+ API’s ~150 real estate API’s Zillow, Trulia, Placester, NYTimes, Onboard, CloudMLS, Retsly, CloudCMA, DotLoop, StreetEasy, WalkScore, AgentRank, PropertyWala, FlexMLS, SimplyRETS, etc….
  • 17. Make it Look Good!! Have a Developer Portal Make Signup Simple Get to the “value conversation”!! Have Great Documentation Twilio, MailChimp, Django, Box Provide Helpers samples, SDKs, test tools, libraries OR
  • 18. Four Takeaways Your API is a PRODUCT. Design for the API User. Simple. Concise. Usable. Get to the Value Conversation. pete@witlytic.com @petergoldey https://www.linkedin.com/in/petergoldey (keep going for DO’s and DON’Ts)
  • 19. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DON’T just expose your domain model… ...DO design for INTENT DO understand how clients will use the API DO expose answers to API user’s questions DON’T require them to be domain experts
  • 20. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DON’T use custom when Standards exist! DO build on HTTP (for quick and easy machine interpretation) DO build on HTTPS (DON’T pass credentials in the open)
  • 21. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DON’T use custom when Standards exist! DO use RESTful standards - such as naming of resources as nouns where it makes sense! DO use RESTful HTTP verbs GET, PUT, POST and DELETE and respect their qualities. DON’T abuse GET and POST!!!
  • 22. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DON’T use custom when Standards exist! DO use JSON DO add XML if you need to (if your API user’s work in Java or C tools, etc.)
  • 23. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DON’T use custom when Standards exist! DON’T limit error codes to 200 and 500 DO use standard error codes (where possible) DO add to them (where needed and useful) DO use the right category (200, 300, 400, 500) DO supply as much detail as possible (e.g. box api) DO include a requestID
  • 24. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DON’T confuse Searching and Identifying! DO provide multiple ways to search resources (API user intent) A property as a sale, as a listing, as a location, etc. DON’T provide multiple ways to identify resources DO make identity unique /properties/28199102 DO use redirection and refer to resources by canonical URL
  • 25. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DON’T ignore CACHING! (we did - huge mistake) Caching is going to happen, and it’s a GOOD thing - if you help it. DO of course be smart with your own internal caching DO allow your API users to cache results Fast. Efficient. Inexpensive. DON’T allow your API users to cache without control!! Freshness and Visibility concerns
  • 26. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DO address “freshness” directly. Make it EASY. DON’T require API user’s to parse a full response to determine freshness. DO use (and respect) Validators If-Modified-Since in requests Last-Modified in responses DO consider using ETags
  • 27. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DON’T rely on POLLING! (if you have real estate data, you have events) DO bake events into your API DO create event based resources DO consider using REST hooks (subscription webhooks) so developers can receive the latest data without polling. MAYBE use Long Polling if you really need to.
  • 28. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DON’T think only in terms of endpoints! DON’T make them “search” again. DO make it easy for API users to find the next resource. DO use hypermedia controls to provide meaningful links between resources DO use canonical urls as resource identifiers DO use hyperlinks to reference external resources and information (that’s what they are for!)
  • 29. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DO publish a change log. Period. DO be internally consistent DO use the same parameter and method names across resources DON’T use extensions as the only means of content negotiation / selecting media types DON’T introduce multiple URL aliases for the same resource (confusing / ambiguous hypermedia controls)
  • 30. Some DO’s and DON’Ts * I’m just as biased as the next guy...there are times to break all the rules! DO NOT use wrapper objects in your responses They are redundant in a well designed API DO NOT put metadata in the response body DO put it where it belongs - in the HTTP response header there are so many more...